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 scribd.com.
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:
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

Generics Example:

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

  1. Pingback: Sorting the Dynamic HTML Table List in Selenium WebDriver & Java - TotalQA

  2. Pingback: [Solved]Error in Launching Eclipse on a MAC-Failed to find a Main Class - Total-QA

Leave a Reply

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