In Capgemini interview I was asked one question i could not answer. What are those methods which are common to all the collection classes and interfaces?
In Capgemini interview I was asked one question i could not answer. What are those methods which are common to all the collection classes and interfaces?
Some of the methods like add(), addAll(), clear(), iterator() are the methods which are common to all collection classes and interface.