foreword
This year's Gold, Three, and Silver Four competitions have made people flustered due to layoffs. As major companies have laid off employees, the interview competition has become more difficult. I wonder if you got an offer in the Gold, Three, and Silver Four competitions? But all of this has passed, and now the Golden Nine and Silver Ten will be ushered in. According to previous years, the difficulty of autumn recruits is often lower than that of spring recruits, but this does not allow us to fish in troubled waters to get an offer! The ancients said: You can't fight unprepared. We all know that if you want to change jobs during the interview, you must submit your resume in advance. I don't know how your resume is submitted. Anyway, I recently received a lot of private messages from fans saying that I submitted my resume but never heard from it, and I was defeated in the first round.
Closer to home, if this happens, either your resume is not well-decorated, or the technology stack you have mastered on your resume is not enough to meet the needs of the position you are applying for. Of course, the latter needs to be accumulated at ordinary times. Generally, people with development experience like us, just need to find reliable interview questions on the Internet, and brush the interview questions for a month, and most of the interviews can be basically done.
How to prepare for a Java interview?
The advice LZ would like to give you here is: those who are preparing for the interview must make a review plan according to their own situation! Moreover, you'd better take a self-test from time to time and ask yourself some common interview questions. In this way, check for leaks and fill in vacancies, and find your own problems. Then start with the high-frequency interview questions, because the probability of high-frequency interview questions being answered is far greater than other interview questions, so you can click through and understand all the interview questions (interview points) involved in this interview question in depth and in detail.
In order to help programmers and friends "interview to build rockets", what I share with you today is this one - 1658 pages "Java Interview Assault Core Lecture" + "Dachang Interview Manual" !
Regardless of whether you want to go to an interview recently, it is recommended that everyone keep a copy! ! After finishing the study, whether it is promotion in the factory or job-hopping and salary increase is no problem!
ps: Regardless of whether you want to interview or not, I hope you will keep a copy for emergencies!
Specific content:
Java full stack interview advanced book
-
JavaOOP/collection/generic/exception/lO and NIO/reflection/serialization/annotation interview questions
-
What is OOP?
-
What is the relationship between classes and objects?
-
There are several naming conventions for data type identifiers in Java.
-
The role of the instanceof keyword
-
What is implicit conversion and what is explicit conversion
-
Can Char type be converted to int type?
-
Can it be converted into a string class Can it be converted into a double type
-
What are the two types of exceptions in Java?
-
What are the exception handling mechanisms?
-
How to customize an exception
-
try catch finally, there is return in try, is finally still executed?
-
The difference between ArrayList and linkedList
-
The difference between HashMap and HashTable
-
Collection package structure, the difference from Collections
-
Generic common features
-
Talk about the difference between List, Set and Map
-
What is the difference between Array and ArrayList?
-
What are the characteristics of Map
-
The collection class is stored in the Java.util package, and there are mainly several interfaces
-
What is the list interface
-
Talk about ArrayList (array)
-
Vector (array implementation, thread synchronization) talk about LinkList (linked list)
-
What Set collection
-
The role of java reflection
-
Where will the reflection mechanism be used?
-
Implementation of reflection:
-
A class that implements Java reflection:
-
Advantages and disadvantages of the reflection mechanism:
-
Java Reflection API
-
Reflection usage steps (get Class object, call object method)
-
There are several ways to get the Class object
-
Dynamically create object instances using reflection
-
What is java serialization and how to implement java serialization?
-
Save (persist) the object and its state to memory or disk
-
Serialized objects are persisted as byte arrays - static members are not
-
Serialize user remote object transfer
-
Serializable implements serialization
-
writeObject and readObject custom serialization strategy
-
Multithreading & Concurrency Interview Questions
-
There are several ways to implement multithreading in Java to inherit the Thread class
-
Implement the Runnable interface.
-
ExecutorService.Callable, Future has return value thread
-
Based on thread pool
-
4 thread pools
-
How to stop a running thread
-
What is the difference between notify0 and notifyAll0?
-
What is the difference between sleep0 and wait()?
-
4 ways to terminate a thread
-
The difference between start and run
-
JAVA background thread
-
What is an optimistic lock What is a pessimistic lock What is a spin lock
-
Synchronized synchronization lock
-
ReentrantLock
-
Difference between Condition class and Object class lock method
-
The difference between tryLock and lock and locklnterruptibly
-
Semaphore semaphore
-
The difference between Semaphore and ReentrantLock
-
Reentrant lock (recursive lock)
-
Fair locks and unfair locks
-
synchronization lock deadlock
-
Principle of thread pool
-
thread complex
-
Composition rejection policy for thread pools
-
Java thread pool working process
-
JAVA blocking queue principle
-
Blocking Queues in Java
-
JVM interview questions
-
database interview
-
Database storage engine lnnoDB (B+ tree)
-
TokuDB (Fractal Tree - nodes with data)
-
MylASM
-
Memory
-
What are the database engines
-
The difference between lnnoDB and MylSAM
-
index
-
Common indexing principles are
-
What are the three normal forms of the database
-
What is Redis?
-
How is Redis different from other key-value stores?
-
Redis data type?
-
What are the benefits of using Redis?
-
What are the advantages of Redis over Memcached?
-
What are the differences between Memcache and Redis?
-
Is Redis single-process or single-threaded?
-
What is the maximum capacity of a smart storage of type string?
-
Redis persistence mechanism
-
What is Memcached and what does it do?
-
What application scenarios does the memcached service have in the enterprise cluster architecture
-
How to realize Memcached service distributed cluster?
-
What are the characteristics and working principle of Memcached service?
-
Briefly describe the principle of Memcached memory management mechanism?
-
How does memcached work?
-
What is the biggest advantage of memcached?
-
memcached and MySQL query
-
Can the log feature be used for secure backups?
-
Is null allowed?
-
Update operations immediately fsync to disk?
-
How to perform transactions/locks?
-
Why is my data file so large?
-
How long does it take to enable backup failback?
-
What is master or primary?
-
What is secondary or slave?
-
Do I have to call getLastError to make sure the write took effect?
-
Spring,SpringBoot,SpringCloud
-
What configuration methods does spring provide?
-
Does spring support centralized bean scope?
-
What is the life cycle of the spring bean container?
-
What is the inner bean of spring?
-
What is spring assembly
-
What are the methods of automatic assembly?
-
What are the limitations of autowiring?
-
What is annotation-based container configuration
-
How to enable annotation assembly in spring?
-
@Component Contoller, @Repository
-
What is the use of @Required annotation?
-
What is the use of @Autowired annotation?
-
What is the use of @Qualifer annotation?
-
What is Spring Boot?
-
Why use Spring Boot?
-
What are the advantages of Spring Boot?
-
Which is the core annotation of Spring Boot? Which annotations does it mainly consist of?
-
What are the ways to run Spring Boot
-
How to understand Starters in Spring Boot?
-
How to run some specific code when Spring Boo starts?
-
Does Spring Boot need a separate container to run?
-
What are monitors in Spring Boot? ;
-
How to implement exception handling with Spring Boot?
-
What is Spring Cloud?
-
What are the advantages of using Spring Cloud?
-
What does service registration and discovery mean? How does Spring Cloud implement it
-
What does load balancing mean?
-
What is Hystrix? How does it achieve fault tolerance?
-
What is a Hystrix circuit breaker? Do we need it?
-
What is Netflix Feign? What are its advantages?
-
What is Spring Cloud Bus? Do we need it?
-
What are microservices
-
What is a service circuit breaker? What is a service degradation
-
What is feigin? What are its advantages?
-
What is the difference between Ribbon and Feign?
-
What is Spring Cloud Bus?
-
Springcloud circuit breaker role?
-
Spring Cloud Gateway?
-
As a service registry, what's so good about Eurekalk Zookeeper?
-
What is Ribbon load balancing?
-
What can Ribbon load balancing do?
-
What is zuu|routing gateway
-
What can the distributed configuration center do?
-
MQ interview questions
-
Dubbo interview questions
-
MyBatis interview questions
-
ZooKeeper interview questions
-
What is Zookeeper?
-
How does Zookeeper guarantee the distributed consistency characteristics?
-
What does ZooKeeper provide?
-
Zookeeper file system
-
ZAB protocol?
-
Four types of data node Znode
-
Zookeeper Watcher Mechanism - Data Change Notification
-
Client registers Watcher implementation
-
Server-side processing Watcher implementation
-
Client callback Watcher
-
ACL permission control mechanism
-
Chroot Features
-
session management
-
server role
-
Server working status under Zookeeper
-
data synchronization
-
How does zookeeper ensure the sequential consistency of transactions?
-
How to deal with zk node downtime?
-
The difference between zookeeper load balancing and nginx load balancing
-
Why is there a Master in a distributed cluster?
-
What are the deployment modes of Zookeeper?
-
How many machines are required for the cluster at least, and what are the cluster rules?
-
Does the cluster support adding robots dynamically?
-
Data Structures and Algorithms
-
Elasticsearch interview questions
-
Microservices Interview Questions
-
What are the advantages of microservice architecture?
-
What are the characteristics of microservices?
-
What are the best practices for designing microservices?
-
How does the microservices architecture work?
-
What are the pros and cons of microservices architecture?
-
What is the difference between monolithic, SOA and microservices architecture?
-
What challenges do you face when using microservices architecture?
-
What are the main differences between SOA and Microservice Architecture?
-
What are the characteristics of microservices?
-
What is Domain Driven Design?
-
Why is Domain Driven Design (DDD) needed?
-
What is ubiquitous language?
-
What is cohesion?
-
What is coupling?
-
What is Ildempotence and where is it used?
-
What is a bounded context?
-
What is two-factor authentication?
-
What are the credential types for factor authentication?
-
What is a client certificate?
-
What is the use of PACT in microservices architecture?
-
What is OAuth?
-
What is Conway's Law?
-
What do you know about contract testing?
-
What is End-to-End Microservice Testing?
-
What is the purpose of Container in microservices?
-
What is DRY in microservice architecture?
-
What is the purpose of Docker?
-
What is a canary release?
-
What is Continuous Integration (CI)?
-
What is Continuous Monitoring?
-
What is the role of the architect in microservice architecture?
-
Can we create state machines with microservices?
-
What is Reactive Scaling in Microservices?
-
Linux interview questions
at last
The length of the article is already very long, so I won’t show it too much. I hope that everyone who reads this article can seize the opportunity of Gold, September and Silver Ten, and get the Offer they want!