current location:Home > Technical Articles > Java > JavaBase

  • 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 12980 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 23710 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 51466 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 3140 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 19383 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 4450 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 7177 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 5271 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 9124 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 9686 2020-05-08 11:52:57
  • What are the functions of javac and java in the Java tool set?
    What are the functions of javac and java in the Java tool set?
    javac is the Java compiler, responsible for converting Java source code into bytecode files; java is the Java interpreter, responsible for executing bytecode files. To run a java program, you need to first compile the Java source code into a bytecode file through javac, and then use java to execute the bytecode file.
    JavaBase 3993 2020-05-09 16:54:54
  • Briefly describe the concept of design patterns
    Briefly describe the concept of design patterns
    A design pattern is a summary of a categorized and cataloged code design experience that is used repeatedly, is known to most people, and is known by most people. It has nothing to do with specific language, it is a kind of thought. Design patterns are good programming methods summarized by programmers during the practice of software engineering.
    JavaBase 3169 2020-05-12 17:35:01
  • Why does jvm need performance tuning?
    Why does jvm need performance tuning?
    During the testing or operation of the program before going online, some large and small JVM problems sometimes occur, such as excessive CPU load, request delay, reduced tps, etc., and even memory leaks and memory overflows leading to system crashes, so the JVM needs to be adjusted. Optimal, so that the program can obtain a higher user experience and operating efficiency under the premise of normal operation.
    JavaBase 4431 2020-05-12 18:16:50
  • What are the three major technology platforms of Java?
    What are the three major technology platforms of Java?
    The three major technology platforms of Java are: 1. Java SE Standard Edition, which is provided for developing ordinary desktop and business applications; 2. Java EE Enterprise Edition, which is provided for developing enterprise-level applications; 3. Java ME Small version, it is provided for developing electronic consumer products.
    JavaBase 4516 2020-05-14 17:28:31
  • What are the subdirectories after jdk installation?
    What are the subdirectories after jdk installation?
    The subdirectories after jdk installation include jdk\bin (executable file directory), jdk\lib (class library directory), jdk\jre (the root directory of the Java runtime environment), jdk\demo (some examples that come with jdk) , jdk\include (c header file), etc.
    JavaBase 6652 2020-05-06 13:21:37

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