- What is Deep cloning and Shallow cloning. If we clone a HashMap will it clone all the Objects it is holding or have the reference to the same Objects.
- You serialize an object and passed it to another JVM. Before deserializing, how do you check whether the same object is already present in the JVM.
- How to Sort an employee object, Tree map.
- How to make immutable employee object. This employee object has a phone object used. How to ensure that the phone object is also immutable.
- How to create a map with two key and one values.