In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the relevant knowledge of the Java programmer interview questions, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this Java programmer interview question. Let's take a look at it.
I. prologue
Briefly introduce your work experience and responsibilities, the main contents of your work at school or at work, and what you are mainly responsible for; (your information is clearly written on your resume, mainly to relieve the pressure of the interviewer)
Introduce the project or platform with technical highlights that you are most satisfied with, and focus on the technical details of the part you are responsible for; (mainly examine whether the candidate has a clear description of what he has done and judge the complexity of what he has done)
2. Java multithreading
The principle of thread pool, why create thread pool? How to create a thread pool
When will a dead process occur in the life cycle of a thread?
Talk about thread safety, what to achieve thread safety, how to achieve thread safety
What are the core parameters for creating a thread pool? How to configure the size of the thread pool reasonably?
The usage scene and principle of volatile and ThreadLocal
When will OOM occur in ThreadLocal? Why?
Synchronized, volatile differences, synchronized lock granularity, simulated deadlock scenarios, atomicity and visibility
III. Related to JVM
JVM memory model, GC mechanism and principle
Which two kinds of GC are there, and what's the difference between Minor GC and Full GC? When will Full GC be triggered? What algorithms are used respectively?
There are several kinds of classloader in JVM, why are there many?
What is the parental appointment mechanism? Introduce some operational processes and the benefits of the parent delegation model
Under what circumstances do we need to destroy the parental delegation model?
What are the common JVM tuning methods? Can be specific to which parameter to adjust, to what value?
How to parse JVM virtual machine memory partition, class loader, garbage collection algorithm, garbage collector, class file structure
IV. Java extension
Implementation principle and application scenario of red-black tree
What is NIO? What kind of scenario is it suitable for?
What has Java9 improved over Java8?
What is the data structure within HashMap? How is it realized at the bottom? (it may also be extended to examine ConcurrentHashMap, HashMap, HashTable, etc., to examine the level of in-depth understanding of technical details.)
Talk about the use and implementation of reflection, whether reflection is very slow, and whether we should avoid using reflection in the project.
Talk about the scenario and implementation of custom annotations
The difference between List and Map, between Arraylist and LinkedList, between ArrayList and Vector
5. Related to Spring
What is the implementation principle and scenario of Spring AOP?
Scope and Lifecycle of Spring bean
What improvements has Spring Boot made over Spring? What are the improvements made by Spring 5 over Spring4
How to customize a Spring Boot Starter?
What is Spring IOC? What are the advantages?
SpringMVC, dynamic proxy, reflection, AOP principles, transaction isolation level
VI. Middleware
A complete introduction to the link of one call to Dubbo
How many load balancing strategies does Dubbo support?
What does the Dubbo Provider service provider do to control the upper limit of concurrent requests to be executed?
How many configuration methods are supported when Dubbo starts?
How many message middleware products do you know? Introduction of the advantages and disadvantages of each product
How does message middleware ensure the consistency of messages and how to retry messages?
Introduction to the fuse Mechanism of Spring Cloud
When comparing Spring Cloud with Dubbo, in what scenarios should I use Spring Cloud?
VII. Database
Introduction of locking mechanism: row lock, table lock, exclusive lock, shared lock
Business scenario and implementation of optimistic Lock
Transaction introduction, understanding of distributed things, what are common solutions, what are two-phase commit and three-phase commit
There are three main ways for MySQL to record binlog. What are the advantages and disadvantages of each model?
MySQL lock, pessimistic lock, optimistic lock, exclusive lock, shared lock, table level lock, row level lock
Principle of distributed transaction 2 Phase commit, synchronous / Asynchronous\ blocking\ non-blocking
Database transaction isolation level, MySQL default isolation level, how Spring implements transactions,
How to implement transaction, nested transaction and distributed transaction in JDBC
The whole parsing of SQL, the principle of execution process, SQL row-to-column
VIII. Redis
Why is Redis so fast? What are the problems with multithreading in redis?
Which data structures are supported by Redis
The problem of Redis Jump Table
How can Redis single-process and single-threaded Redis have high concurrency?
How does Redis use Redis to implement distributed locks?
How is the atomicity of Redis distributed lock operation realized within Redis?
This is the end of the article on "what are the Java programmer interview questions?" Thank you for reading! I believe you all have a certain understanding of the knowledge of "what are the Java programmer interview questions". If you want to learn more knowledge, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.