Example & Tutorial understanding programming in easy ways.

What is difference between ArrayList and vector?

Read More →

What is difference between HashMap and HashTable?

Read More →

What is difference between Arrays and ArrayList ?

Read More →

What is difference between List and Set?

Read More →

When to use ArrayList or LinkedList?

Read More →

What is difference between iterator access and index access?

Read More →

Which all classes implement Set interface?

Read More →

Where you use List and where ArrayList?

Read More →

If an ArrayList has to be iterate to read data only, what are the possible ways and which is the fastest?

Read More →

What are the classes implementing List interface?

Read More →

if accessing through iterator is slow then why do we need it and when to use it?

Read More →

Which design pattern Iterator follows?

Read More →

How to sort list in reverse order?

Read More →

Can a null element added to a Treeset or HashSet?

Read More →

How to sort list of strings - case insensitive?

Read More →

How to make a List (ArrayList,Vector,LinkedList) read only?

Read More →

How can Arraylist be synchronized?

Read More →

How we can sort any class on the behalf of the properties of collection. Like we has a collection of named Employee objects we need shortlist by using Employee ID.

Read More →

What is ConcurrentHashMap?

Read More →

Which is faster to iterate LinkedHashSet or LinkedList?

Read More →

Which data structure HashSet implements?

Read More →

Arrange in the order of speed - HashMap,HashTable, Collections.synchronizedMap,concurrentHashmap?

Read More →

What is IdentityHashMap?

Read More →

What is WeakHashMap?

Read More →

What is collection framework in Java? give its advantage?

Read More →

What are the basic interfaces of Java Collections Framework?

Read More →

What is the benefit of Generics in Collections Framework?

Read More →

What are the Methods of Collection interface in Java?

Read More →

What are difference between Iterator and ListIterator?

Read More →

What is the difference between Iterator and Enumeration ?

Read More →

What is an Iterator ?

Read More →

How do you traverse through a collection using its Iterator?

Read More →

How to obtain Array from an ArrayList ?

Read More →

What is the difference between Comparable and Comparator Interface?

Read More →

What is difference between HashMap and HashSet?

Read More →

What is difference between fail-fast and fail-safe?

Read More →

How to make a collection read only?

Read More →

What is Garbage Collection in Java?

Read More →

what is the purpose of finalize() method in java?

Read More →

Why we override equals() method in java?

Read More →

What is legacy class in java ?

Read More →

Why we use Map interface? What are main classes implementing Map interface?

Read More →

Simple Example of ArrayList in Java .

Read More →

Simple Example of LinkedList in Java .

Read More →

Simple Example of ListIterator Interface in Java .

Read More →

Simple Example of HashSet class in Java .

Read More →

Simple Example of TreeSet class in Java .

Read More →

Simple Example of Sorting the elements in Java .

Read More →

Simple Example of PriorityQueue in Java .

Read More →

Simple Example of HashMap class in Java .

Read More →

Simple Example of LinkedHashMap class in Java .

Read More →

Simple Example of TreeMap class in Java .

Read More →