current location:Home > Technical Articles > Java > JavaBase

  • What are the java output statements?
    What are the java output statements?
    The output statements are: 1. Print "System.out.println()" with line breaks; 2. Print "System.out.print()" without line breaks; 3. Byte output "System.out.write()"; 4. Output "System.out.printf()" in format.
    JavaBase 30649 2023-01-13 00:39:55
  • How to set eclipse language to Chinese
    How to set eclipse language to Chinese
    Method: 1. Find the language pack download URL and copy it; 2. Open eclipse and click "help" - "Install New Software" - "Add"; 3. Paste the URL in "Location" and click "Add"; 4 , check "Simplified Chinese Package"; 5. Wait for loading to complete and restart.
    JavaBase 197603 2023-01-13 00:39:55
  • What is the difference between static methods and non-static methods in java
    What is the difference between static methods and non-static methods in java
    Differences: 1. Static methods are methods modified with the static keyword, which belong to classes, not objects; non-static methods are ordinary methods that are not modified with the static keyword, and belong to objects, not classes. 2. Static methods can be called directly, class name calls and object calls; non-static methods can only be called through objects. 3. Different life cycles.
    JavaBase 29017 2023-01-13 00:39:55
  • What are the shortcut keys for IDEA?
    What are the shortcut keys for IDEA?
    This article will introduce to you the shortcut keys of IDEA. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
    JavaBase 1987 2021-05-06 09:45:33
  • How to decompile class files into java files
    How to decompile class files into java files
    Method: 1. Download the "jad.exe" plug-in and place it in the same directory as the ".class" file; 2. Open the cmd command window and use the cd command to enter the directory where "Jad.exe" is located; 3. Execute "Jad -d java file storage path -sjava class file path" command can be used.
    JavaBase 28722 2023-01-13 00:39:55
  • What are the seven major components of Spring Cloud?
    What are the seven major components of Spring Cloud?
    Seven major components of Spring Cloud: 1. Eureka component, which describes how the service is registered and where to register it; 2. Ribbon component; 3. Feign component, a declaration web service client; 4. Hystrix component; 5. Config component; 6 , Zuul component; 7. Bus component.
    JavaBase 22981 2023-01-13 00:39:55
  • How to create objects in java
    How to create objects in java
    Methods for creating objects in Java: 1. Use the new keyword; 2. Use the newInstance method of the Class class, which can call the constructor without parameters to create objects; 3. Use the newInstance method of the Constructor class; 4. Use the clone method; 5. Use Deserialize.
    JavaBase 26519 2023-01-13 00:39:55
  • What are the methods to convert string to date in java
    What are the methods to convert string to date in java
    Conversion method: 1. Use SimpleDateFormat to format the time; 2. Use "org.apache.commons.lang3.time.DateUtils" to format the time; 3. Use DateTimeFormatter to format the time.
    JavaBase 69863 2023-01-13 00:39:54
  • What is the use of split() method in java
    What is the use of split() method in java
    In Java, the split() method can split a string based on matching a given regular expression, and then return a string array, the syntax is "stringObject.split(regular expression delimiter, number of splits)"; if There are multiple delimiters, you can use "|" as a hyphen.
    JavaBase 9674 2023-01-13 00:39:54
  • What are the three major systems of java?
    What are the three major systems of java?
    JAVA has three major systems, namely: 1. Java SE, including Java basic class libraries and syntax; 2. Java EE, based on Java SE, defines a series of services, APIs, protocols, etc., and adds the ability to write enterprise-level Application class library; 3. Java ME.
    JavaBase 26127 2023-01-13 00:39:54
  • What is the difference between java and c++
    What is the difference between java and c++
    Difference: Java cannot use a non-Boolean value as a Boolean value in a logical expression, but C++ can. C++ introduces an operator overloading mechanism, which Java does not support. C++ has goto, Java does not have goto. There is multiple inheritance in C++ and only single inheritance in Java, but Java can implement multiple inheritance through interfaces.
    JavaBase 46395 2022-01-12 15:10:35
  • What are the five commonly used design patterns in Java?
    What are the five commonly used design patterns in Java?
    Five commonly used design patterns in Java: 1. Singleton design pattern; 2. Factory design pattern; 3. Agent design pattern; 4. Observer design pattern; 5. Adapter pattern.
    JavaBase 16081 2023-01-13 00:39:54
  • What are the commonly used Java code snippets?
    What are the commonly used Java code snippets?
    Commonly used Java code segments include: 1. Convert strings to integers; 2. Add content to the end of the file; 3. Get the name of the current method; 4. Convert strings to dates; 5. Use JDBC to connect to Oracle.
    JavaBase 16175 2023-01-13 00:39:54
  • Sorting of Java Basics TreeSet and Java Custom Types
    Sorting of Java Basics TreeSet and Java Custom Types
    The bottom layer of the TreeMap collection is actually a TreeMap. The bottom layer of the TreeMap collection is a binary tree. The elements placed in the TreeSet collection are equivalent to being placed in the key part of the TreeMap collection. The java basic tutorial column will introduce it in detail. Friends in need can take a look.
    JavaBase 3061 2021-03-05 09:54:00
  • Java zero-based detailed explanation of multi-threading
    Java zero-based detailed explanation of multi-threading
    ​​​​​​Daemon threads can be divided into thread classification: user threads (the above are all user threads), and the other is daemon threads. The daemon thread is like this. When all user threads end their life cycle, the daemon thread will end its life cycle. As long as there is one user thread, the daemon thread will not end. For example, the famous garbage collector in Java is a daemon thread. It will not end until all threads in the application end.
    JavaBase 1718 2021-03-04 10:20:39

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