current location:Home > Technical Articles > Java > JavaBase
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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 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
- 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
- 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
- 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?
- 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?
- 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?
- 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 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: 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
- 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
- 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?
- 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
- 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
- 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