Can arraylist store objects?



Can arraylist store objects?..

Answer / Amber Goel

Yes, an ArrayList can store objects. You can use ArrayList<Object> to declare a list that stores any type of object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Can arraylist store primitives?

1 Answers  


What is immutablelist?

1 Answers  


What is non linear data structure with example?

1 Answers  


What are the advantages of stack?

1 Answers  


Describe the height term in a tree.

1 Answers  


What are the types of binary tree?

1 Answers  


Is priority queue sorted?

1 Answers  


What does the dummy header in the linked list contain?

1 Answers  


Is merge sort better than quick?

1 Answers  


Why use a tuple instead of a list?

1 Answers  


Explain linked list in short.

1 Answers  


Briefly explain recursive algorithm 50 how do you search for a target key in a linked list?

1 Answers  


Categories