Tuesday, 2 June 2020

Core Java Basic interview questions


Different between String and StringBuffer?
Different between StringBuffer and StringBuilder?
Why String Objects are immutable?
What is the String constant pool?
What is the methods of Object class?
What is different between Comparator and Comparable interfaces?
What is different between "==" operator and equals()?
What is Synchronization?
What is the marker interface?
What is Abstraction,Encapulation and Polymorphism?
What is the static polymorphism and Dynamic polymorphism?
Different between method overloding and overriding?
What is the interface and abstraction?
Different between abstraction and interface?
Which senario is suitable abstraction and interface?
What are the access modifiers?
Diffrent between protected and default packages?
What is diffrent between error and Exception?
What are Checked and Unchecked Exception?
Which situation occure NullPointerException?
What is Thread Life cycle?
Different between wait() and sleep() mthods?
Different between yeild() and join()?
How many ways to create the thread and which is best approach?
What is the Collection? what is the advantage collections overe the arrays?
What is the diffrent between Set and List?
What is the diffrent between HashSet and HashMap?
What is the diffrent between ArrayList and Vector?
What is the diffrent between Hashtable and HashMap?
What is the diffrent between TreeSet and TreeMap?
What is the generic class?
What are the generics and why we are used Generics in Java?
What is the SingleTon class?Example
What is the factory method?
What is the Serialization and Deserialization?
What is the tansient keyword in java?
What is the TypeErrasor?
JDk 1.5 features and 1.6 reatures?
What is use of keywords in Java and how many keywords are there?
What is Fail Fast and Fail Safe in Java?
Difference between Hashtable and ConccurentHashMap?
What is Hashing technique?
What is Callable Interface?
What is different between statement and preparedStatement?

No comments:

Post a Comment