Tuesday, November 29, 2011

Class hierarchy of AbstractMap is as follows

This is because AbstractMap is the abstract class and not all methods from Map interface are implemented in AbstractMap. Hence HashMap implements Map interface to implement?of the metods in Map interface.
Category:Java Interview Questions

No comments:

Post a Comment