Java Collections Interface Methods in Telugu | Java Collections in Telugu | జావా (Java in Telugu)



Java Collections Interface Methods:
→ public boolean add(Object element) – It adds the specified element to the invoking collection.
→ public boolean remove(Object element) – It removes the specified element from the invoking collection.
→ public int size() – It returns the total elements present in the invoking collection.
→ public void clear() – It removes all the elements from the invoking collection.
→ public boolean contains(Object element) – It returns true if the…

Related Posts

Leave a Reply

Your email address will not be published.

© 2022 Code As Pro - Theme by WPEnjoy · Powered by WordPress