current location:Home>Technical Articles>Java>JavaInterview questions
- 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:
-
- 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.
- JavaInterview questions 2227 2019-11-15 16:31:28
-
- 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.
- JavaInterview questions 11279 2019-11-14 16:51:07
-
- 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.
- JavaInterview questions 2828 2019-11-14 14:57:36
-
- Java latest basic knowledge interview questions
- 1. What does the static keyword mean? Is it possible to override a private or static method in Java? "static" indicates that a member variable or member method can be accessed without an instance variable of the class to which it belongs. Static methods in Java cannot be overridden.
- JavaInterview questions 1713 2019-11-13 17:51:06
-
- Java multi-threading interview questions multiple choice questions including answers
- To start a thread, you need to call the start() method, and the t.run() method uses the object name. Analysis: To start the thread, you need to call the start() method, and the t.run() method uses the object name.
- JavaInterview questions 4284 2019-11-13 14:40:13
-
- 9 common multiple-choice questions in Java written exams
- Regarding Java compilation, the correct thing is: Java programs will produce byte code after compilation; construtor is executed when an object is new. The modifier of an interface in Java can be abstract.
- JavaInterview questions 6884 2019-11-12 15:16:28
-
- Summary of the most common JAVA interview questions in 2020 (Collection)
- 1. Internal principles of Collections.sort sorting; 2. Principles of hashMap, changes made in java8; 3. The difference between String and StringBuilder; 4. The difference between Vector and Array; 5. The difference between HashMap and Hashtable, etc.
- JavaInterview questions 1961 2020-06-08 17:50:30
-
- The 8 most common mistakes in Java interview questions
- How to use static and final? What is the difference between abstract class and interface? Can a class inherit multiple classes? Can an interface inherit multiple interfaces? Can a class implement multiple interfaces? What are the functions and usages of this and super? What is the difference between final, finally, finalize?
- JavaInterview questions 1976 2019-11-11 14:21:36
-
- Person p = new Person(); What does it do in memory?
- Load the Person.class file into memory. If p is defined in the main method, then a variable space p will be opened in the stack space. Allocate space for objects in heap memory. Default initialization of members in the object. Explicitly initialize members in the object. Call the construction code block to initialize the object.
- JavaInterview questions 3303 2019-11-11 14:29:06
-
- The latest Java interview questions: Spring framework part
- How does SpringMVC work? What are the commonly used annotations in SpringMVC? How to enable annotation processors and adapters? How to solve the garbled problem of get and post? Talk about your understanding of Spring? What are the design patterns in Spring? Commonly used annotations in Spring?
- JavaInterview questions 2455 2019-11-09 15:05:49
-
- Classic Java interview questions_Must ask for interns!
- First, let’s talk about the difference between final, finally, and finalize. final? modifier (keyword) If a class is declared final, it means that it can no longer derive new subclasses and cannot be inherited as a parent class. finally? Provide a finally block during exception handling to perform any cleanup
- JavaInterview questions 2885 2019-11-08 16:02:03
-
- A complete collection of Java written test handwritten algorithm interview questions with answers
- Algorithm for counting the number of words in an English article; inputting the year, month and day, algorithm for calculating the day of the year that the date is; palindrome prime number: the so-called palindrome number is the same number read forward and backward ( For example: 11, 121, 1991...), a palindrome prime number is a number that is both a palindrome number and a prime number (a number that can only be divided by 1 and itself).
- JavaInterview questions 2974 2019-11-07 15:49:30
-
- 15 Java Thread Concurrency Interview Questions and Answers
- Now there are threads T1, T2 and T3. How do you ensure that the T2 thread executes after T1, and the T3 thread executes after T2? The answer is also very simple - you can use the join method of the Thread class to achieve this effect.
- JavaInterview questions 1663 2019-11-07 15:23:10