What are the characteristics of object-oriented programming?
What is the relationship between the JDK, JRE, and JVM?
How do I compile and run Java files using the command line?
What are the common sets?
What is the difference between a process and a thread?
What is the JVM?
What is a transaction?
What are the features of MySQL transactions?
What framework is MyBatis?
What is Redis?
What is the Spring Framework?
What is the Spring MVC Framework?
What is the Spring Boot Framework?
What is the Spring Cloud Framework?
What are the advantages and disadvantages of the Spring Cloud framework?
What is a message queue?
What are the application scenarios of message queues?
What is the Linux operating system?
What is a data structure?
What are design patterns?
What is Zookeeper?
Application service port 8080 is occupied unexpectedly. How can I solve the problem?
What is the Dubbo framework?
What is Maven?
What are common protocols in the application layer?
What are the keywords in Java?
What are the basic types in Java?
Why does the Map interface not inherit from the Collection interface?
What’s the difference between a Collection and a Collection?
The concept of heap and stack, how are they different and related?
What is the difference between class.forname and ClassLoader?
Why use design patterns?
Why is String modified by final?
Basic usage of the final keyword?
How do I understand the final keyword?
What’s the difference between ArrayList and LinkedList?
What is the difference between HashMap and HashTable?
What are the phases of a thread’s life cycle?
What is the difference between the start() and run() methods in Thread?
What’s the difference between notify and notifyAll?
What is the optimistic lock and what is the pessimistic lock?
What is the use of the volatile keyword in Java?
What are common annotations in Spring?
What are common annotations in Spring MVC?
Why MyBatis semi-automatic ORM mapping?
What is the args parameter in the main method?
What is high cohesion and low coupling?
Pros and cons of the Spring Boot framework?
What are the Spring Boot core annotations?
What is the directory structure of Spring Boot?
Does Spring Boot need a separate container to run?
How does Spring Boot work?
What is the principle of Spring Boot automatic configuration?
How many methods are available for Spring Boot hot deployment?
What is the difference between $and # pass in MyBatis?
How does MyBatis implement paging?
MyBatis how to obtain the automatically generated primary key ID?
What is the difference between TCP and UDP?
Integer type value is 0, why! Can’t execute?
What are the design principles of MySQL indexes?
Why use auto-increment ID as primary key?
How does Linux switch users?
What is the difference between su root and su – root?
How does Linux switch directories?
What protocols does Dubbo support and which are recommended?
What registry does Dubbo use by default? Any other options?
Why does Redis need to put data in memory?
How does Zookeeper synchronize the status of the primary and secondary nodes?
Did Dubbo stop updating?
Why Maven for the build?
What is the Maven protocol?
What are the common Maven commands?
What is a chain storage structure?
What are some common sorting algorithms and their complexity?
Java recursively traverses all files in a directory?
JSP to obtain ModelAndView transmission parameter data problem?
Does Linux run SQL statement file error?
How to solve the problem of Chinese garbled characters displayed on Linux?
Maven project in IDEA does not automatically recognize POM.xml?
What is the difference between process orientation and object orientation?
What are the features of the Java programming language?
What’s the difference between overloading and overwriting?
What’s the difference between static methods and instance methods?
What is the difference between equals and ==?
How does HashMap expand?
What is the initial capacity of ArrayList in JDK1.8 and JDK1.7?
What are the limitations of arrays.aslist ()?
Why is Set unordered?
What is the difference between Comparable and Comparator?
How is synchronization implemented in HashMap?
What is the difference between a List, a Set, and a Map?
How many ways can multithreading be implemented?
What are thread-local variables?
What are the common blocking queues in Java?
How many ways can you create a thread pool?
What are the commands for viewing file contents?
What kinds of wildcards can be used in a command?
What are the commands for searching files by filename?
What is the function of the hash command in bash shell?
What are the states of processes in Linux?
What’s the difference between an Integer and an int?
What are Java inner classes?
What are the common garbage collectors?
What are the JVM parameters applied in the production environment?
When can stack memory overflow occur?
What are the common JVM tuning configuration parameters?
What is a class loader?
What are the classes of class loaders?
Is it possible to customize a java.lang.String?
How many ways can MyBatis implement batch insert data?
What is automatic boxing? What is automatic unpacking?
What is the difference between level 1 cache and Level 2 cache?
What data types does Redis support?
What is Redis persistence? What persistence methods does Redis have?
What is cache penetration? How to avoid it?
What is cache avalanche? How to avoid it?
Does MyBatis support lazy loading? How does it work?
How to solve MyBatis escape character problem?
How does Zookeeper keep the order of transactions consistent?
What are the deployment modes of Zookeeper?
What is the minimum number of servers required in a Zookeeper cluster?
What are typical application scenarios of Zookeeper?
What are the differences and connections between Paxos and ZAB?
What Are the Java clients in Zookeeper?
Does the Zookeeper cluster support dynamic server addition?
What is the difference between Zookeeper and Nginx load balancing?
How can I handle the Zookeeper node breakdown?
How to realize server cluster through Socket communication?
Why use Redis instead of Map and Guava?
Is Redis single threaded? Why so fast?
Why message queues?
How many broadcast types are available for RabbitMQ?
What are Kafka’s partitioning policies?
What are the important components of RabbitMQ?
What are the important roles of RabbitMQ?
How does RabbitMQ ensure message ordering?
How can message consumption be idempotent?
How do Kafka consumers unsubscribe?
How many design patterns are there, and what are they?
What are the six principles of design patterns?
What is the singleton pattern?
What is the difference between hungriness and slacker in singleton mode?
What are the application scenarios of the singleton pattern?
What is thread safety?
What design patterns are used in the Spring framework?
What is the Spring MVC execution flow?
How does Spring MVC solve the request Chinese garble problem?
What is the difference between Spring MVC request forwarding and redirection?
How are systems layered in Spring MVC?
How do I turn on annotation handlers and adapters?
How does Spring MVC set up redirection and forwarding?
What is the return value of a function in Spring MVC?
What does the @requestMapping annotation do for a class?
Is Spring MVC controller singleton?
Can RequestMethod support both POST and GET requests?
How many ways can Spring dependency injection be implemented?
Can Spring inject null or empty strings?
What kinds of bean scopes does Spring support?
Does ConcurrentHashMap not support empty keys in JDK1.8?
What are the different notification types in Spring?
What are Spring AOP join points and pointcuts?
What is the Spring AOP proxy pattern?
What are the features of the Spring framework?
What modules are Spring made up of?
How many ways does Spring provide to configure metadata?
What is the difference between HTTP1.0 and HTTP1.1?
What is the difference between HTTP1.1 and HTTP2.0?
What kinds of embedded containers does Spring Boot support?
What is Spring Boot Stater?
What is the naming convention for Spring Boot Stater?
What are the Spring Boot initiators?
What does the Spring Cloud circuit breaker do?
What are the core components of Spring Cloud?
How does Spring Cloud implement service registration?
What is Spring Cloud Config?
What is the Spring Cloud Eureka self-protection mechanism?
What are the common concurrency utility classes?
What’s the difference between concurrency and parallelism?
How does the JSP template engine parse the ${} expression?
What is a service circuit breaker? What is service degradation?
What is the connection between Spring Boot and Spring Cloud?
What microservices stacks do you know?
What is the difference between an interface and an abstract class?
What is a thread deadlock?
How do I avoid thread deadlocks?
Can a static method in a parent class be overridden by a subclass?
What is an immutable object? What are the benefits?
What’s the difference between a static variable and an instance variable?
What public methods does the Object class have?
How can Java create objects?
What is the difference between a== B and a (b)?
How does equals() relate to hashCode () in Object?
Can random numbers be used in hashCode ()?
What is the difference between & and & in Java?
How many non-inner classes can there be in a.java class file?
How to exit a multi-layer nested loop correctly in Java?
What is the difference between shallow copy and deep copy?
What are the uses of the final keyword in Java?
String s = new String(“abc”); How many strings are created?
What’s the difference between String and StringBuffer?
3*0.1 == 0.3
Is there any difference between a=a+b and a+=b?
What are the causes of thread blocking in Java?
What’s the difference between Callable and Runnable?
What’s the difference between synchronized and ReentrantLock?
What is the difference between int a[] and int []a?
What is math.round (-1.5) in Java?
What are the common methods of the String class?
What are the types of IO streams in Java?
What is the difference between BIO, NIO, and AIO in Java?
What are the common methods of the Files class in Java?
Can abstract classes use final decoration?
What partition types does MySQL support?
How to determine whether MySQL supports partitioning?
What isolation levels are available in MySQL?
What are the advantages and disadvantages of row-level locking in MySQL?
What cluster fault tolerance schemes does Dubbo have, and what is the default?
What is a Maven repository?
What is the Maven build phase?
What is Maven’s built-in build lifecycle?
What is MOJO in Maven?
How does Maven manage multi-module project dependencies?
What are the Maven versioning specifications?
How is the underlying HashMap implemented?
Why is the HashMap length a power of 2?
Why does multi-threading cause an infinite loop?
What are the deletion policies for the Redis Expiration key?
Are singleton beans thread-safe in Spring?
What is the difference between the @Component and @bean annotations in Spring?
How many ways does Spring manage transactions?
What are the isolation levels for transactions in Spring?
What are the propagation behaviors of transactions in Spring?
Can String be used as an argument in switch?
What is a tree?
What is a binary tree?
What are the basic concepts of binary trees?
What are the differences and connections between trees and binary trees?
What is bubble sort?
How to write a bubble sort algorithm in Java?
What are the features of Spring transactions?
What are the database engines?
What are the principles of MySQL index optimization?
What is the proxy pattern?
How to implement static proxy in proxy mode?
How to implement dynamic proxy in proxy mode?
What is the interpreter pattern?
How is the interpreter pattern implemented in Java?
What is the Facade pattern?
What are the application scenarios of the Facade pattern?
What are the benefits of the Facade pattern?
What are the concepts of synchronous, asynchronous, blocking, and non-blocking?
What is Java serialization (serialization)?
What are the use scenarios for serialization?
What are the considerations when using serialization?
How many handshakes are there on a TCP/IP connection? How many times?
How do I count the number of current process connections in the Linux system?
What are the common directory structures in Linux?
What are hard and soft links in Linux?
Which configuration file does Linux set DNS modify?
What ports are occupied by common Linux services?
What are the built-in service containers for Dubbo?
What communication framework does Dubbo use by default? Any other options?
Does Dubbo support multi-protocol services?
Are calls between Dubbo services blocked?
Is Dubbo support service degraded?
How does Dubbo stop gracefully?
What are the differences between Dubbo and Spring Cloud?
Why doesn’t Redis officially offer a Windows version?
What is the maximum capacity of each Redis data type?
What does Redis have to do with Redisson?
What are the pros and cons of Jedis and Redisson?
How to set and verify a password in Redis?
What is the maximum number of nodes in Redis cluster?
How do Redis clusters select databases?
How does Redis test connectivity?
What are the Redis transaction commands?
How to set the expiration time and permanent validity of Redis key?
How does the Redis recycle process work?
What algorithm does Redis recycle use?
How does Redis implement mass data insertion?
What is the difference between Redis and other key-value stores?
What are generics?
What are the rules of generics?
What are the usage scenarios for generics?
What are the meanings of E, T, K, V and other tokens in Java generics?
Can generics be used in Java arrays?
What are common thread-safe Maps in Java?
Front-end transfer parameters save data to MySQL garble problem?
MySQL > update date function
Maven package problem with “package com.sun.deploy.net does not exist”?
Does the Thymeleaf template engine report 500 problems in Linux?
Java project first login page loading slow problem?
Spring Cloud Config: SSH connection to GitHub
What are the working states of the Server in Zookeeper?
What are the common Zookeeper commands?
How do ZooKeeper clients register Watcher implementations?
How does the ZooKeeper server handle the Watcher implementation?
How does the ZooKeeper client call back Watcher?
What is the ACL permission control mechanism in ZooKeeper?
Why is there a Master in a distributed cluster?
What is the ZooKeeper naming service?
What is the difference between character constants and string constants in Java?
What are the advantages of Java generics?
What is a Java Iterator?
What are the differences between the Iterator and Enumeration interfaces?
What are the differences between the Iterator and Enumeration interfaces?
What are the differences between Iterater and ListIterator?
What are the ways to iterate over a List collection in Java?
What is the difference between Fail-fast and Fail-safe?
What’s the difference between ArrayList and CopyOnWriteArrayList?
Iterative collection how to avoid ConcurrentModificationException in Java?
What is UnsupportedOperationException in Java?
Throws throws throw throws throw
What are the database three paradigms?
How to reverse a string in Java?
What are the differences between Redis and Memcached?
What are the usage scenarios of Redis?
What are the common HTTP request methods?
What are the common HTTP status codes?
What is network protocol?
What is the nature and function of network transport protocol?
What are implicit conversions in Java?
What is the difference between inner join, left join and right join in MySQL?
What is multithreading?
Is the ++ operator thread-safe in JAVA?
What is the difference between volatile and synchronized in Java?
How to determine if the java.util.LinkedList string implements the List interface?
How do I get the List collection generic type in Java?
Interview questions see wechat mini program “Java selected interview questions”, 3000+ interview questions. Continuous content updates include base, collections, concurrency, JVM, Spring, Spring MVC, Spring Boot, Spring Cloud, Dubbo, MySQL, Redis, MyBaits, Zookeeper, Linux, Data Structures and Algorithms, Project management tools, message queues, design patterns, Nginx, Common BUG problems, network programming, etc.