killerbrazerzkidai.blogg.se

Java reflection interview questions and answers
Java reflection interview questions and answers




java reflection interview questions and answers
  1. #JAVA REFLECTION INTERVIEW QUESTIONS AND ANSWERS HOW TO#
  2. #JAVA REFLECTION INTERVIEW QUESTIONS AND ANSWERS UPGRADE#

What is ThreadLocal? What are the usage scenarios?ĥ2.

#JAVA REFLECTION INTERVIEW QUESTIONS AND ANSWERS UPGRADE#

what is the upgrade principle of multithreaded locks?ĥ1.

#JAVA REFLECTION INTERVIEW QUESTIONS AND ANSWERS HOW TO#

how to ensure the safety of multithreading in Java programs?Ĥ8. what is the difference between the submit() and execute() methods in the thread pool?Ĥ7. what are the status of the thread pool?Ĥ6. what are the ways to create a thread pool?Ĥ5. what is the difference between a thread’s run() and start()?Ĥ4. What is the difference between notify() and notifyall()?Ĥ3. What is the difference between sleep() and wait()?Ĥ2. what is the difference between runnable and callable?Ĥ1. what is the difference between threads and processes?ģ9. what is the difference between parallelism and concurrency?ģ6.

java reflection interview questions and answers

how to ensure that a set cannot be modified?ģ5. What is the difference between an iterator and a listiterator?ģ4. How to use the iterator? What are the characteristics?ģ3. which collection classes are thread safe?ģ2. what is the difference between poll() and remove() in the queue?ģ0. What is the difference between array and ArrayList?Ģ9. What is the difference between ArrayList and vector?Ģ8. how to realize the conversion between array and list?Ģ7. What is the difference between ArrayList and LinkedList?Ģ6. what is the implementation principle of HashSet?Ģ5. what is the implementation principle of HashMap?Ģ4. how to decide whether to use HashMap or treemap?Ģ3. What is the difference between HashMap and hashtable?Ģ2. What is the difference between list, set and map?Ģ1. What is the difference between collections and collections?Ģ0. What is the difference between bio, NiO and AIO?ġ7. How many IO streams are there in Java?ġ6. what is the difference between an interface and an abstract class?ġ5. can abstract classes be decorated with final?ġ4. what are the differences between ordinary classes and abstract classes?ġ3. must abstract classes have abstract methods?ġ2. What are the common methods of the string class?ġ1. Is string str= “I” the same as string str=new string (“I”)?ġ0. What are the classes of operation strings in Java? What is the difference between them?Ĩ. if two objects have the same hashcode (), equals () must also be true, right?ħ. What is the difference between 2.= and equals?ģ. What is the difference between JDK and JRE? Let’s take a look at 208 interview questions.ġ. People who want to continuously improve and expand their Java technology stack People who want to find out and fill the gaps Junior / intermediate / advanced Java programmers to be interviewed Readers can choose the corresponding modules to read according to their own situations. It is possible that beginners do not need the knowledge of the following frameworks and JVM modules. The interview questions include the following 19 modules: Java foundation, container, multithreading, reflection, object copy, java web module, exception, network, design pattern, spring/spring MVC, spring boot/spring cloud, hibernate, mybatis, rabbitmq, Kafka, zookeeper, mysql, redis, JVM.






Java reflection interview questions and answers