Java Collections-List,Set,Map,Queue,Iterator,Generics

An overview of java-Collections-List,Set,Map,Queue Interface are explained in this post. For complete understanding please refer to Sun Certified Programmer for Java 6 Study Guide available in the
Please click on this Ebook Link->Kathy-sierra-PDFBooks

Refer to the below Links for Practise
Selenium Wiki
Complete List of Selenium Basics
50 Real Time Interview Questions
Real Time Scenario’s
Java Platform Standard Edition 8 Documentation
Complete List of Java Basics
Java Quiz
Java OOPS Quiz
Selenium Advanced Quiz
Selenium Quiz
Selenium WebDriver Resume

In Collection Framework they are mainly 4 interfaces which mentioned as follows:List,Set,Map,Queue

List Example: List Console Output:

Set Interface:

Set Example:

Set Console Output:

Queue Interface:

Queue Example:

Queue Console Output:

Map Interface:

Map Example:

Iterator Interface:

Iterator Example:


Generics Example:

2 comments on “Java Collections-List,Set,Map,Queue,Iterator,Generics

Leave a Reply

Your email address will not be published. Required fields are marked *