Home Technical Articles Java JavaInterview questions
Spring bean basic interview questions and answers

Spring bean basic interview questions and answers

Spring is the most commonly used framework for Java, and Spring's uses are not limited to server-side development. From the perspective of simplicity, testability and loose coupling, most Java applications can benefit from Spring.

Nov 27, 2019 pm 02:09 PM
Java
Java multithreading and concurrency interview questions (Question 4, with answers)

Java multithreading and concurrency interview questions (Question 4, with answers)

ConcurrentLinkedQueue is a thread-safe queue, implemented based on a linked list structure. It is an unbounded queue. In theory, the length of the queue can be expanded infinitely. Like other queues, ConcurrentLinkedQueue also uses the first-in-first-out (FIFO) enqueueing rule.

Nov 26, 2019 pm 05:17 PM
java
Common Java interview questions (with answers)

Common Java interview questions (with answers)

How to implement queue using array? When using an array to implement a queue, we must pay attention to the overflow phenomenon. In this case, we can use the method of looping the array to solve the problem, that is, connecting the ends of the array. Use the front pointer to point to the first position of the queue and the tail pointer to point to the last position of the queue.

Nov 26, 2019 pm 03:02 PM
java
Java multi-threading interview questions worth collecting (with answers)

Java multi-threading interview questions worth collecting (with answers)

This article summarizes some Java multi-threading interview questions and answers for you. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone. For more Java-related knowledge, please visit the Java tutorial column!

Nov 25, 2019 pm 03:21 PM
java 多线程
Java concurrency basics common interview questions (summary)

Java concurrency basics common interview questions (summary)

This article summarizes common Java concurrency basic interview questions for everyone. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone. For more Java-related knowledge, please visit the Java tutorial column!

Nov 23, 2019 pm 04:37 PM
spring Java
Java multithreading and concurrency interview questions (1~3 questions, with answers)

Java multithreading and concurrency interview questions (1~3 questions, with answers)

When talking about the use and principle of DelayQueue, we first introduce DelayQueue. DelayQueue is an unbounded blocking queue from which elements can only be extracted when the delay expires. The head of the queue is the Delayed element that will be stored the longest after the delay expires.

Nov 23, 2019 pm 02:56 PM
java
A complete collection of Java written test questions with answers (classic 11 questions)

A complete collection of Java written test questions with answers (classic 11 questions)

It is true that objects can be created without using a constructor. Calling the clone() method of an object is a copy of the existing object in memory, so the constructor will not be called. Using deserialization means restoring the class object from the file, and the constructor will not be called.

Nov 21, 2019 pm 04:07 PM
java
Java written test questions and answers (basic difficulty written test questions)

Java written test questions and answers (basic difficulty written test questions)

There is a java application whose main class name is al, so the source file to save it can be al.java. When calling a method, if you want the method to change the value of the actual parameter, you can use an object as a parameter.

Nov 20, 2019 pm 04:13 PM
java
Java smart flow interview written test questions including answers

Java smart flow interview written test questions including answers

In 2006, someone worked for 24 consecutive days and earned a total of 190 yuan (daily wage of 10 yuan, Sunday wage of 5 yuan, and no pay for Sunday rest). It is known that his part-time job started on a certain day in late January, and the 1st of this month happens to be a Sunday. What day in February was the day this person ended his part-time job?

Nov 19, 2019 pm 04:40 PM
java
Common multiple choice questions in Java written test

Common multiple choice questions in Java written test

The known expression int m[] = {0,1,2,3,4,5,6}; The value of the following expression is equal to the length of the array? A m.length(); B. m.length; C. m.length()+1; D. m.length+1.

Nov 18, 2019 pm 04:46 PM
java
java gc interview questions and answers (questions 1~5)

java gc interview questions and answers (questions 1~5)

Since there is a GC mechanism, why are there still memory leaks? Why is there a GC mechanism in Java? What memory needs to be reclaimed by Java's GC? When does Java's GC collect garbage? Get a preliminary understanding of lambda expressions in Java8 through 10 examples.

Nov 16, 2019 pm 04:06 PM
java
14 common Internet Java interview questions

14 common Internet Java interview questions

The similarities and differences between synchronized and reentrantlock; why concurrenthashmap does not require locking for reading; the role of ContextClassLoader (thread context class loader); tomcat class loading mechanism; osgi class loading mechanism.

Nov 15, 2019 pm 04:31 PM
Java
Intermediate and advanced Java interview questions (with answers)

Intermediate and advanced Java interview questions (with answers)

1. How does redis synchronize with local data? Answer: When the program implements mysql update, addition, and deletion, it will operate redis synchronously. The program queries redis. If it does not exist, it queries mysql and automatically saves redis. 2. How many data structures does redis have? Answer: set, list, hash, string, etc.

Nov 14, 2019 pm 04:51 PM
java 高级面试题 中级
java memory overflow interview questions

java memory overflow interview questions

There are many reasons for memory overflow, and the common ones are as follows: the amount of data loaded in the memory is too large, such as fetching too much data from the database at one time; there are references to objects in the collection class, which are not cleared after use, causing JVM cannot be recycled; BUG in the third-party software used.

Nov 14, 2019 pm 02:56 PM
java

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use