Can you make an arraylist of arrays?



Can you make an arraylist of arrays?..

Answer / Ruby Kumari Saha

Yes, in Java, you can create an ArrayList<ArrayList<Integer>> or any other type, to store multiple arrays.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is the difference between 1d and 2d array?

1 Answers  


In which data structure, elements can be added or removed at either end, but not in the middle?

42 Answers   Infosys, NIC, TTA, Wipro,


Can we remove element from arraylist while iterating?

1 Answers  


Which is faster array or list?

1 Answers  


What is data type and its types?

1 Answers  


State the demerit of linear representation of binary trees?

1 Answers  


Can the double-checked locking fail on a single processor system?

1 Answers  


Explain the Stack

1 Answers   Tech Mahindra,


Discuss how to implement queue using stack.

1 Answers  


Why is hashmap used?

1 Answers  


What is bubble insertion selection sort?

1 Answers  


How many null values are allowed in a set?

1 Answers  


Categories