Basic syntax
This includes the static, final, transient, volatile and other key words, the principle of the Foreach loop and so on. Collection
List, MAP, set implementation of the underlying implementation of the principle of class, implementation of the advantages and disadvantages of the class. Set to master ArrayList, LinkedList, Hashtable, HashMap,
Concurrenthashmap, hashset the principle of implementation, fluent answer, as well as Copyonwrite container and queue familiar. Concurrenthashmap Lock Segmentation Technique Concurrenthashmap Whether the reading is locked and why the Concurrenthashmap iterator is a strong consistent iterator or a weakly consistent iterator design pattern
Which design patterns are used in the project, and how to use the UML diagram of common design patterns using the advantages and disadvantages of knowing the design patterns
The differences and connections between multithreaded thread and runnable how to start a thread multiple times and what state the thread has. Java.util.concurrent commonly used thread pools, as well as their differences and relationships, the principle of thread pool implementation, the actual use of the scene. Thread synchronization, lock. Synchronized and Reentrantlock difference, synchronized lock common method and lock static method, deadlock principle and the method of troubleshooting.
IO file io and socket io, file io is blocked io. The difference between blocking/non-blocking in Socket io, synchronous/asynchronous, understanding of the four IO models of blocking IO, non-blocking io, multiplexing io, asynchronous IO, and how socket IO is associated with four models. NiO is not strictly non-blocking io but should belong to multiplexing Io,nio blocking on the selector select method.
JDK source code List, MAP, set implementation class source code Reentrantlock, Aqs (abstractqueuedsynchronized) source Code Atomicinteger Realization Principle, It is mainly clear that CAs mechanism and atomicinteger is how to implement the thread pool with CAs mechanism the method in the object class and the role of each method
When frame spring initializes the bean, do something about what you want to do when the bean is destroyed, and do something about it. The difference between the $ and # in MyBatis is the principle of the framework implementation. The implementation principle of Spring AOP
Database Union and UNION ALL differences, left JOIN, several indexes, and different SQL optimizations
Data structure and algorithm analysis array, linked list stack and queue AVL tree, red black tree (binary lookup tree, balance tree, AVL tree and red-black tree) Question: which data structure is used by the index. Why use the tree to implement algorithm analysis, not, do not want to study even if, dizzy 、、、 give up,
Memory layout of Java Virtual machine Java Virtual machine GC algorithm and several garbage collector class loading mechanism--Parental delegation Model Java memory Model Happens-before rule volatile keyword usage rules
Several implementation methods of distributed session in Web (four kinds of commonly used) session and cookie difference and connection and the realization principle of Session web.xml Filter, Servlet, Listener get/post difference, Implementation principle of forward/redirection for different HTTPS consistency hash algorithm SOA, RPC