Round 1--------------------------------
1. What is application context in spring.
2. What if two mapping file is there in spring how we gonna use it.
3. Equal and HashCode method contract.
4.How many table will be in data base for Many to many mapping.
5. HashMap and concurrentHashmap difference, why don't we use HshTable if we are looking for thread safe.
6. What is difference between singleton of hibernate and singleton object of Java.
7. Abstract class Vs Interface
Round 2------------------------------------
1..Explain command pattern.
2. Factory Design Pattern.
3.Write a singleton class.
4. How to handle singleton if we have deserialise singleton object in java and in such way we have 2 singleton object.
5. volatile and transient.
6. how to make a class immutable. we don't want to create object using new in java.
.
No comments:
Post a Comment