Do not fight the battle ready, the next epidemic Java interview you have mastered it?

2020 has been the past two months, gold and three silver four should have a lot of friends want to seize the opportunity to find a good job, pay and benefits rose. If you have an idea what it will be prepared to advance it. Quit happen all the time, but I suggest that you quit before, to make it clear why quit. We must not follow suit, to see my colleagues one by one are gone, and he began to interview them blind (also not prepared adequately period), in the end because of technical reasons (the impact of their development, offset path planning of their own), or the money to less, unappreciated.

As many in this text, I summed up the java interview involved and the scope of frequently asked questions Frequently Asked surface free for everyone to share, there is the end the draw!

Interview: If you do not interview well-prepared, complete waste of time, it is not responsible for their own.

Under today to share with me spend a month time to sort out the Java architecture interview topics and answers.

Java Interview focus

Data Structures and Algorithms, the JVM memory structure, the garbage collector, collection algorithm, GC, related to concurrent programming (multithreaded, thread pool), NIO / BIO, performance optimization, design patterns, Spring Framework: Distributed related: the Redis cache, consistent Hash algorithm, distributed storage, load balancing, service and micro Docker containers.

spring face questions

  1. What is the role played in the ssm in Spring?
  2. Spring transaction?
  3. IOC role in the project?
  4. Spring configuration file contents?
  5. Spring notes under?
  6. Spring DI of three ways?
  7. Spring is mainly used what model?
  8. IOC, AOP implementation principle?

SpringMVC face questions

  1. SpringMvc controller is not a singleton, and if so, what is the problem, how to solve?
  2. Notes SpringMvc in the controller?
  3. @RequestMapping notes used in the class action?
  4. Front multiple parameters, which is an object, the object quickly get?
  5. SpringMvc the return value of a function?
  6. SpringMvc forwarding and redirection?
  7. Call each other between SpringMvc and Ajax?
  8. SpringMvc work flow chart?
  9. Struts2 and SpringMvc difference?

Mybatis face questions

  1. Ibatis和Mybatis?
  2. What is the interface binding Mybatis, and what are the benefits?
  3. What happens with notes, what happens to bind with xml?
  4. Mybatis What is the core processing class?
  5. Query table name and return Entity Bean inconsistent objects, how to deal with?
  6. Mybatis benefits?
  7. Mybatis configure-to-many?
  8. Mybatis configure one?
  9. $ # {} And {} difference?
  10. Obtaining primary key values ​​automatically generated last?
  11. How Mybatis paging, paging principle?
  12. Mybatis works?

JVM and performance tuning

  1. Describe the principle mechanism JVM loaded Class file?
  2. What is the class loader?
  3. Class loader What?
  4. What is tomcat class loading mechanism?
  5. Parent class loader delegation model mechanism?
  6. Java memory allocation?
  7. Java heap structure look like?
  8. Description of changes in various versions of the memory area?
  9. Talk about the roles of the various regions?
  10. Java will be a memory leak it, briefly?
  11. Java class loading process?
  12. What is GC? Why should there be GC?
  13. Briefly Java garbage collection?
  14. How to determine whether an object is alive?
  15. Garbage collection advantages and principles, and to consider two kinds of recovery mechanisms? What is the basic principle?
  16. Deep copy and shallow copy?
  17. What is a distributed garbage collection (DGC)? How does it work?
  18. In Java, when an object can be recycled garbage?
  19. Brief Minor GC and Major GC?
  20. The method of garbage collection in Java What?
  21. Talk about performance evaluation and test indicators you understand?
  22. Commonly used performance optimization options?
  23. Talk about distributed caching and consistent hashing?
  24. What is the GC tuning?

Redis

  1. redis data structure what?
  2. Redis cache penetration, cache avalanche?
  3. How to use Redis to implement a distributed lock?
  4. How Redis concurrent competition problem solving?
  5. Redis persistence in several ways, what advantages and disadvantages, how to achieve?
  6. Redis cache invalidation strategy?
  7. Redis clustering, high availability, principle?
  8. Redis cache fragmentation?
  9. Redis data elimination strategy?
  10. redis queue scenario?
  11. Distributed usage scenarios (storage session)?

distributed

  1. What is the CAP theorem?
  2. BASE CAP talk about theory and theory?
  3. What is the ultimate consistency? The final consistency of implementation?
  4. What is the consistency Hash?
  5. Talk about distributed transactions?
  6. How to achieve distributed lock?
  7. How to achieve Distributed Session?
  8. How to ensure the consistency of the message?
  9. Load balancing understand?
  10. Forward Proxy and Reverse Proxy?
  11. CDN implementation principle?
  12. How to enhance the throughput and QPS system?
  13. Dubbo underlying principles and mechanisms of implementation?
  14. A detailed description of the process is to release the consumer from the service?
  15. Distributed service management system how to do?
  16. How messaging middleware to solve the problem of lost messages?
  17. Dubbo how to handle the service request failed?
  18. Understanding of distributed transactions?
  19. How to achieve load balancing algorithm which can be achieved?
  20. Use of Zookeeper, what is the principle of elections?
  21. Vertical split level talk about data split?
  22. zookeeper principles and application scenarios?
  23. zookeeper watch mechanism?
  24. redis / how to deal with zk node goes down?
  25. Distributed cluster at how to do a unique serial number?
  26. What used MQ, how to use, and other mq compare what advantages and disadvantages, MQ connection is thread safe?
  27. How MQ system to ensure data is not lost?
  28. Include database can think of sub-library sub-table strategy?
Access: data compilation is not easy, after forwarding comment private letter reply [architecture] get receive a free way.

 

 

 

At last

I want to help you to review before the interview and find a good job, but also saves you the time to search for information online learning. Rational use of every minute of their own time to enhance their learning, not to hide his ideological laziness! Young, hard fight, give an account of their own future!

Access: data compilation is not easy, after forwarding comment private letter reply [architecture] get receive a free way.

Spring Principle: very detailed description explains, progressive approach.

 

Access: data compilation is not easy, after forwarding comment private letter reply [architecture] get receive a free way.

Published 72 original articles · won praise 3 · Views 3644

Guess you like

Origin blog.csdn.net/weixin_46062001/article/details/104430545
Recommended