Explain list interface?



Explain list interface?..

Answer / Kavita Gupta

The List interface in Java extends the Collection interface and represents an ordered collection (also called a sequence) of elements. It provides methods for accessing elements by their position using indexes, inserting and removing elements at specific positions, and manipulating sublists. Some common List implementations include ArrayList, LinkedList, and Vector.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Is break statement can be used as labels in java?

1 Answers  


What is your platform?s default character encoding and how to know this?

1 Answers   TCS,


How will you reverse a singly-link list?

1 Answers   Akamai Technologies,


What is treemap in java?

1 Answers  


Write a method to check if input string is palindrome?

1 Answers  


what is difference between Exception and Error?

36 Answers  


What is a native method?

2 Answers  


How do you sort arraylist in descending order?

1 Answers  


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


Name some OOPS Concepts in Java?

1 Answers  


why Runnable interface is preferable than extending the Thread class?

7 Answers   Aizza, College School Exams Tests, Sybrant Technologies, Wipro,


What is the difference between variable declaration and variable initialization?

1 Answers  


Categories