Does list maintain insertion order java?



Does list maintain insertion order java?..

Answer / Gaurav Jeet

In Java, ArrayList maintains the insertion order of its elements. However, LinkedList also maintains the insertion order.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is a Java switch statement, and how can it be used?

2 Answers  


What are access specifiers in java ?

1 Answers   Akamai Technologies,


What is an array and a vector? How they different from each other?

4 Answers  


What is a Null object?

2 Answers   Wipro,


Can an interface implement another interface?

1 Answers  


can we create instance for interface in java?

4 Answers  


Variables used in a switch statement can be used with which datatypes?

1 Answers  


Can an anonymous class be declared as implementing an interface and extending a class?

2 Answers  


What is preparedstatement in java?

1 Answers  


Is java map thread safe?

1 Answers  


Is vector thread safe in java?

1 Answers  


What happens when I use / and % with a negative numerator?

1 Answers  


Categories