Untitled Document

Subscribe here to get updates on new Videos


14. Collection interface details?




previous homenext

Collection Interface:

1. If we want to represent a group of individual objects as a single entity then we should go for Collection
2. In general collection interface is considered as root interface of Collection Framework.
3. Collection interface defines the most common methods which are applicable for any collection object.



Note: Collection interface doesn’t contain any method to retrieve objects there is no concrete class which implements collection class directly.