List, Set and Map - Difference Between Set, List and Map in Java

Interfaces in Java are similar to classes. An interface can be considered a reference type and interfaces has great significance in Java. Hence they are taught in depth in all java tutorials. Set, List and Map are three most important interface in java collection framework and the difference between these three is one of the…

Java.util package consists of a collection of legacy collection classes, framework, event model, time and date facilities, internationalization and miscellaneous utility classes. There are different classes in Java.util packages and here is a brief about all of them. java.util Packages – Java.util.ArrayDeque Class This class gives arrays that are resizable and also implements Deque interface….

As told in the title, this is an overview of java collections framework. The word “Collections” literarily means a group of things and a collection of interfaces and classes constitute Java Collections Framework. Introduction to Collections Framework Overview As mentioned earlier, collections contain a group of objects and unlike in the case of arrays, all…

User Defined Packages - Details of User Defined Packages

In the earlier article, we talked about predefined packages. Java, a highly user-friendly programming language permits to create our own packages and use the same in programming. In a project where different developers are involved in different modules and tasks, creating packages is unavoidable, mainly for avoiding name duplication. Besides, package naming conventions will help…