What is the function of the retainAll() method from the Collection interface? Data Structures What is the function of the retainAll() method from the Collection interface? Answer: Attempts to retain only elements that are included in the provided collection. Returns true if at least one of the elements is retained. Learn More : Share this Share on FacebookTweet on TwitterPlus on Google+
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.