1.

Which Methods Can Be Used To Obtain Set Of All Keys In A Map?

Answer»

KEYSET() methods is used to GET a set containing all the KEYS used in a map. This method provides set view of the keys in the invoking map.

keySet() methods is used to get a set containing all the keys used in a map. This method provides set view of the keys in the invoking map.



Discussion

No Comment Found

Related InterviewSolutions