List Interface in Java

Prev Tutorial Next Tutorial

List Interface in Java

List Interface is used to store multiple objects with duplicates that means it allows to store duplicate elements. List Interface are implemented in following collection classes.

  • Stack
  • Vector
  • ArrayList
  • LinkedList

Create object for List Implementer classes


List_Implemented_class<generic_class> obj=new List_Implemented_class<generic_class>();

Example to create object of Stack

Stack<String> obj=new Stack<String>();

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain,, @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: WhatsApp no. 8882538826

Yahoo Advertisements