What is the collections api in java programming?



What is the collections api in java programming?..

Answer / Brij Vir

The Collections API in Java provides various pre-built data structures and algorithms to store, manipulate, and retrieve data. It includes interfaces such as List, Set, Queue, Map, and Collection, along with their respective implementations like ArrayList, HashSet, LinkedList, HashMap, etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain break statement and continue statement?

3 Answers  


how to make a un-checked exception as a checked exception one.

2 Answers  


What is the difference between throw and throws?

5 Answers   Cap Gemini,


What is an infinite loop in java? Explain with an example.

1 Answers  


What are exception handling keywords in java?

1 Answers  


Tell me the Importent classes in net package?

1 Answers  


How do you define a set in java?

1 Answers  


When is an object in the mean to garbage collection?

3 Answers  


system.out.println(1 + 3);

8 Answers  


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

1 Answers  


What is the main function in java?

1 Answers  


How many characters is 16 bytes?

1 Answers  


Categories