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 |
Is break statement can be used as labels in java?
What is your platform?s default character encoding and how to know this?
How will you reverse a singly-link list?
1 Answers Akamai Technologies,
What is treemap in java?
Write a method to check if input string is palindrome?
what is difference between Exception and Error?
What is a native method?
How do you sort arraylist in descending order?
Difference between ?System.out.println? and ?System.error.println??
Name some OOPS Concepts in Java?
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?