What is List Interface in Java

1,121 views · Published 27 January 2014 · 4:47 · Indexed 10 November 2026

Channel: Interview DOT · 2014 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. What is List Interface in Java

JAVA INTERVIEW QUESTION AND ANSWER

 What is Collection API ?
     The Collection API is a set of classes and interfaces that support operation on collections of objects. 
     These classes and interfaces are more flexible, more powerful, and more regular than the vectors, arrays, 
     and hashtables if effectively replaces.
               
           Example of classes: HashSet, HashMap, ArrayList, LinkedList, TreeSet and TreeMap.
     Example of interfaces: Collection, Set, List and Map.

What is "List" interface in Java ?
  * 
  * 1.The List interface provides support for ordered collections of objects.
  * 
  * 2.A List cares about the index.i.e getint index, indexOfObject o, addint index, Object obj
  * 
  * 3.Three implementations of List are "ArrayList,Vector,LinkedList".

What is List Interface in Java

A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

More from this channel