JAVA common interview questions
What is Java? What are the differences between Java and C++? What are the basic data types in Java? What is a class in Java? What is an object in Java? What is an interface in Java? What is an abstract class in Java? What is inheritance in Java and how is it implemented? What is polymorphism in Java and how is it implemented? What is encapsulation in Java and how is it achieved? What is the difference between the static and non-static methods in Java? What is a constructor in Java and how is it used? What is an exception in Java and how is it handled? What is a thread in Java and how is it used? What is the difference between final, finally, and finalize in Java? What is a package in Java and how is it used? What is the difference between JDK and JRE in Java? What is the difference between an ArrayList and a LinkedList in Java? What is a map in Java and how is it used? What is the difference between a hashmap and a hashtable in Java? What is the difference between a stack and a q...