Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Core Java - Interview Questions and Answers for 'Collection interface' - 6 question(s) found - Order By Newest | ||||
| ||||
Ans. Map | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Collections class is a utility class having static methods for doing operations on objects of classes which implement the Collection interface. For example, Collections has methods for finding the max element in a Collection. | ||||
![]() | ||||
![]() ![]() ![]() ![]() ![]() ![]() | ||||
![]() | ||||
| ||||
Ans. http://www.buggybread.com/2015/02/java-collections-interfaces-that.html | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. http://www.buggybread.com/2015/02/java-collections-classes-that-implement.html | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Here is the list of classes that implements Collections Interface - http://www.buggybread.com/2015/02/java-collections-classes-that-implement.html Having Collection interface to extend Cloneable interface would mean necessarily implement clone method by all implementing classes. As not all collection classes allow duplicate elements, it makes no sense to clone elements for them. | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. java.util.Collection | ||||
![]() | ||||
![]() ![]() ![]() | ||||