Collections list,set and map

Vijay Mylavarapu
1y

List names = new ArrayList<>();

names.add("Alice");

names.add("Bob");

names.add("Charlie");

Set numbers = new HashSet<>();

numbers.add(1);

numbers.add(2);

numbers.add(3);

Map...read more

Vijay Mylavarapu
1y

In Java, the java.util.Collections class is a utility class that contains static methods for operating on collections (which are objects that store other objects). There are three main interfaces in t...read more

Noorjahan Khatoon
2y

List implementation classes are Array List, LinkedList

implementation classes are HashSet, LinkedHashSet, and TreeSet

Map implementation classes are HashMap, HashTable, TreeMap, ConcurrentHashMap, ...read more

Add answer anonymously...
TCS Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter