KeySet is a set returned by the keySet() method of the Map Interface, It is a set that contains all the keys present in the Map.
Thursday, 15 March 2012
What is an EntrySet View?
Entry Set view is a set that is returned by the entrySet() method in the map and contains Objects of type Map.
Can we instantiate an interface?
You can’t instantiate an interface directly, but you can instantiate a class that implements an interface.