VIRTUSA JAVA INTERVIEW QUESTIONS

Q. Difference between first level and second level cache in hibernate ?
Q. What is the difference between Declaration and Definition in Java?
Q. What are Java 8 features ?
Q. What is the difference between JVM and JRE ?
Q. What is Garbage Collector ?
Q. Difference between static binding and dynamic binding ?
Q. What is streaming ?
Q. What are the methods of Object Class ?
Q. What is the return type of constructor ?
Q. What is the volatile keyword?
Q. Differences between abstract class and interface ?
Q. What is a String Pool ?
Q. Difference between sleep() and wait() methods in Java ?
Q. Explain java.lang.OutOfMemoryError ?
Q. What is the difference between comparable and comparator
Q. How is Hashmap internally implemented in Java ?
Q. Difference between Array list And Vector ?
Q. Differentiate between Iterator and Enumeration ?
Q. How can we restrict inheritance for a class?
Q. How can we fetch records by spring JdbcTemplate ?
Q. What is lazy loading in hibernate ?
Q. What is the front controller class of Spring MVC ?
Q. Define JSON?
Q. How to make Collections readOnly ?
Q. Difference between trucate and drop ?
Q. What is index ?

Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *