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

Download Projects


Download WhatsApp Status Video

Buy This Ad Space Only $50 per Month, Ad Size 300X250 Contact on: [email protected] WhatsApp no. 8882538826

Google Adsense Advertisements