current location:Home > Technical Articles > Java > JavaBase

  • What is the difference between java variables and constants
    What is the difference between java variables and constants
    The difference between Java variables and constants is: 1. In the Java coding standards, constant names are required to be in uppercase, and variable names are required to be in lowercase; 2. Constants can only be assigned once, and variables can be assigned multiple times; 3. Constants are used during the running of the program. It cannot be changed, variables can be changed.
    JavaBase 7847 2020-05-14 13:33:34
  • What is the difference between java interface and abstract class
    What is the difference between java interface and abstract class
    The difference between Java interfaces and abstract classes is: 1. Abstract classes can not only have abstract methods, but also instance methods. All methods in the interface are public abstract methods; 2. Subclasses use the extends keyword to inherit abstract classes, and subclasses Use the implements keyword to implement the interface.
    JavaBase 2457 2020-05-14 13:15:40
  • What are the four commonly used frameworks for java development?
    What are the four commonly used frameworks for java development?
    The four commonly used frameworks for Java development are: 1. SpringMVC, which implements the MVC design pattern; 2. Mybatis, which is an excellent persistence layer framework; 3. Spring, which provides IOC, AOP and other functions; 4. Maven , which is a project management tool.
    JavaBase 13149 2020-05-13 16:20:11
  • What are the keywords of java exception handling
    What are the keywords of java exception handling
    The keywords of java exception handling are: 1. try; 2. catch; 3. finally; 4. throw; 5. throws. All exception classes are subclasses inherited from the java.lang.Exception class.
    JavaBase 4089 2020-05-13 13:31:50
  • What technologies do you need to master for java back-end development?
    What technologies do you need to master for java back-end development?
    The technologies that need to be mastered in java back-end development include: 1. Servlet, Servlet plays the core role in the Web MVC structure; 2. JDBC, RMI, etc.; 3. Spring framework; 4. Combined with hadoop to build java distributed development.
    JavaBase 14902 2020-05-12 14:11:01
  • What is the difference between int and double in java
    What is the difference between int and double in java
    The difference between int and double in Java: 1. The int data type is 32 bits, and the double data type is 64 bits; 2. The default value of the int data type is 0, and the default value of the double data type is 0.0d; 3. Integer variables The default type is int, and the default type of floating point number is double type.
    JavaBase 13142 2020-05-12 10:56:43
  • What are the famous games developed by java?
    What are the famous games developed by java?
    Famous games developed by java include: 1. Tetris; 2. Super Bubble Bobble; 3. Super Mario; 4. Pac-Man; 5. Diamond Love; 6. Zuma; 7. Bomberman; 8. Snake. ; 9. Prince of Persia; 10. The Sims.
    JavaBase 24351 2020-05-11 15:28:46
  • for input string: Why does it appear?
    for input string: Why does it appear?
    "for input string" appears because of a formatting exception thrown when converting a string that does not conform to the numeric format into a number. The solution is to use "debug" or "print statement" to output the variable and correct the string into numeric format. That’s it.
    JavaBase 51863 2020-05-11 09:19:02
  • How to install jdk in win10 environment
    How to install jdk in win10 environment
    How to install jdk in win10 environment: 1. First download jdk from the official website; 2. Then install it according to the installation wizard; 3. Then set the environment variables CLASS_PATH, JAVA_HOME and PATH; 4. Finally, test whether the installation is successful.
    JavaBase 3277 2020-05-06 11:13:25
  • How to write input statement in java
    How to write input statement in java
    The input statement in java is written as follows: 1. [Scanner sc = new Scanner(System.in); ]; 2. [String input = sc.next();].
    JavaBase 19534 2020-04-30 16:42:09
  • what is java web
    what is java web
    Java Web is a technology stack that uses Java technology to solve related web and Internet fields. Java's client-side applications include java applets; Java's server-side applications are abundant, such as Servlet, JSP, and third-party frameworks.
    JavaBase 4583 2020-04-29 16:26:39
  • What are the commonly used frameworks in java development?
    What are the commonly used frameworks in java development?
    Commonly used frameworks in Java development include: 1. SpringMVC, which is a lightweight web framework based on Java that implements the request-driven type of MVC design pattern; 2. Dubbo, which is a distributed framework for remote service invocation.
    JavaBase 7321 2020-04-28 16:04:20
  • What do you need to learn for java development?
    What do you need to learn for java development?
    Java development needs to learn: 1. JavaSE, which is the basis of java development; 2. [html+css+javascript], which is the key technology for web page production; 3. mysql or oracle; 4. JDBC; 5. tomcat, Servlet and Jsp and other technologies; 6. Framework.
    JavaBase 5381 2020-04-28 10:02:56
  • What are the logical operators in java
    What are the logical operators in java
    The logical operators in Java include logical AND (&&), logical OR (||) and logical NOT (!). Among them, logical AND (&&) and logical OR (||) are binary operators, and logical NOT (!) is a unary operator.
    JavaBase 9257 2020-05-08 16:45:51
  • What is the difference between abstract class and interface in java
    What is the difference between abstract class and interface in java
    The differences between abstract classes and interfaces in Java are: 1. Abstract classes are modified with the abstract keyword, and interfaces are modified with the interface keyword; 2. Abstract classes do not need to contain abstract methods, and all methods in the interface are abstract methods.
    JavaBase 9822 2020-05-08 11:52:57

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28