current location:Home > Technical Articles > Java > JavaBase

  • What are the three ways of spring ioc injection?
    What are the three ways of spring ioc injection?
    The three ways of spring ioc injection are: 1. Setter method injection. After the container instantiates the bean by calling the parameterless constructor or parameterless static factory method, it calls the setter method of the bean. 2. Constructor method injection. 3. P namespace injection.
    JavaBase 17562 2023-01-13 00:39:49
  • How to convert string to integer in java
    How to convert string to integer in java
    How to convert a string into an integer in java: first enter a numeric string; then convert it through [Integer.parseInt()], the code is [String s="123456";int b=Integer.parseInt(s);].
    JavaBase 34577 2023-01-13 00:39:49
  • Java concurrent programming, introducing commonly used auxiliary classes
    Java concurrent programming, introducing commonly used auxiliary classes
    CountDownLatch is a synchronization tool class used to coordinate synchronization between multiple threads, or to communicate between threads (rather than serving as a mutual exclusion). CountDownLatch enables one thread to wait for other threads to complete their work before continuing to execute. Use a counter to implement..
    JavaBase 1906 2021-02-03 18:52:00
  • What is the difference between hashmap and concurrenthashmap
    What is the difference between hashmap and concurrenthashmap
    Difference: HashMap is thread-unsafe. When multi-threaded operations occur, security risks may arise; ConcurrentHashMap is thread-safe. ​HashMap does not support concurrent operations and has no synchronization method; ConcurrentHashMap supports concurrent operations.
    JavaBase 12866 2021-02-02 11:14:18
  • JVM learning Java memory structure
    JVM learning Java memory structure
    The full name of JVM is Java Virtual Machine-the running environment of java program (the running environment of java binary bytecode)
    JavaBase 2618 2021-02-03 18:52:06
  • What are the three objects of the event processing model?
    What are the three objects of the event processing model?
    The three objects of the event processing model: 1. Event source; the place where the event occurs is usually each component. 2. Events; encapsulate specific things that happen on interface components. 3. Event listener: Responsible for monitoring events that occur in event sources and responding accordingly to various events.
    JavaBase 4808 2023-01-13 00:39:49
  • What are the java loop statements?
    What are the java loop statements?
    Java loop statements: 1. while loop, code is [while (judgment condition) {loop body (one or more statements)}]; 2. do while loop, code is [do{loop body}]; 3. for loop , the code is [for (declaration of loop increment; judgment condition; increment auto-increment) {loop body}].
    JavaBase 27386 2023-01-13 00:39:48
  • What are the four commonly used frameworks for java development?
    What are the four commonly used frameworks for java development?
    There are four commonly used frameworks for Java development: 1. Struts is an MVC framework based on the Sun Java EE platform; 2. Spring is a lightweight Java EE application framework; 3. Hibernate is an open source object-relational mapping framework; 4. , Swing graphical user interface library.
    JavaBase 19820 2023-01-13 00:39:48
  • How to open jar file
    How to open jar file
    How to open the jar file: first download and install java jdk, open the Java file; then click on the [.jar] file and select the opening method as Java; finally, after installation, click to decompress to "XXX(E)".
    JavaBase 68686 2023-01-13 00:39:48
  • How to read excel table information in java
    How to read excel table information in java
    How to read excel table information in java: 1. Get the excel table file to be read through the [Workbook.getWorkbook(new File("E://excel.xls"));] code; 2. [book.getSheet( 0);] Get table information.
    JavaBase 72316 2023-01-13 00:39:48
  • Calculate how to calculate date and time difference in Java8
    Calculate how to calculate date and time difference in Java8
    The java basic tutorial column introduces how to calculate the date and time difference in Java 8. The method is simple and concise. Friends in need can take a look for reference.
    JavaBase 2082 2021-01-19 09:34:25
  • You must know the difference between '==' and equals() in java
    You must know the difference between '==' and equals() in java
    Today we will discuss the difference between "==" and equals() in Java ==: The relational operator compares whether the contents of two values ​​​​are equal in basic data types, and compares whether the addresses of two objects are equal in reference types. Equality equals() is a method in the Object class
    JavaBase 2800 2021-01-18 17:20:37
  • What are the java middleware technologies?
    What are the java middleware technologies?
    Java middleware technologies include: 1. tomcat; 2. Weblogic; 3. JBOSS; 4. Coldfusion; 5. Websphere; 6. GlassFish.
    JavaBase 10208 2021-01-18 15:37:39
  • what are java features
    what are java features
    Java features: 1. Cross-platform; 2. Security; 3. Object-oriented; 4. Simplicity; 5. High performance; 6. Distributed; 7. Multi-threading, which can bring better interactive response and real-time behavior; 8. Robustness.
    JavaBase 33785 2023-01-13 00:39:48
  • What is the role of volatile in java
    What is the role of volatile in java
    The role of volatile in java: 1. Java provides the volatile keyword to ensure visibility; 2. To ensure orderliness, the code is [context = loadContext(); inited = true;]; 3. Provide double check.
    JavaBase 28322 2023-01-13 00:39:48

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