A Computer Science blog for Learn Java. It contains well written and well explained computer science and programming articles and interview Questions. Tutorials,Free Online Tutorials,LearnJava provides tutorials and interview questions of technology like java ,core java. for beginners and professionals.
Thursday, September 14, 2023
Java Inheritance Update 2023 With Program And Example
Thursday, August 11, 2022
Explain Collection Framework Hierarchy in Java 2022 Update.
Explain Collection Framework Hierarchy in Java 2022 Update.
1. List
It handles sequential list of objects. ArrayList, Vector and LinkedList classes implement this interface.
2. Queue
It handles the special group of objects in which elements are removed only from the head.
Linked List and Priority Queue classes implement this interface.
3. Set
It handles the group of objects which must contain only unique elements.
This interface is implemented by HashSet and LinkedHashSet classes and extended by
SortedSet interface which in turn, is implemented by TreeSet.
4. Map
This is the one interface in Collection Framework which is not inherited from Collection interface.
It handles the group of objects as Key/Value pairs. It is implemented by
HashMap and HashTable classes and extended by SortedMap interface which in turn is implemented by TreeMap.
Three of above interfaces (List, Queue and Set) inherit from Collection interface.
Although, Map is included in collection framework it does not inherit from Collection interface.
Java multithreading Tutorial with Real-Life-Example(2025)
Java Multithreading Tutorial with Real-Life Examples (2025) Meta Description: Learn Java Multithreading with real-world examples. Und...
-
What is a method signature in Java? -Learn Java online java learn interview questions.full core java interview questions on java learn ....
-
Java Multithreading Tutorial with Real-Life Examples (2025) Meta Description: Learn Java Multithreading with real-world examples. Und...
-
Interview Questions and Answers for Xpanxion 2020 Letest Questions & Ans All The question of Xpanxion Round 1st Clear. All type of co...
