Java Collections Framework

What is Java Collections Framework? Java Collections Framework is group of different interfaces, classes and algorithms. In simple word, Collection means single unit of objects and framework means good architecture. It is best architecture to store group of reusable objects and manipulate them. Collection framework has many different interfaces, their sub interfaces and classes, their … Read more

Java List Interface

List interface in java is ordered collection so it can store elements in sequence. List interface is sub interface and it extends to Collection interface. List interface can hold duplicate elements so you can insert duplicate elements too. You can access elements from list by integer index. Collection framework has many interfaces in java and list … Read more

Java Collection Interface

Collection is an interface in java. Collection interface extends Iterable interface. In hierarchy, Collection interface is root of List, Queue and Set interfaces. It represents unit of its elements. i.e. group of objects. Some collections do not allow duplicate elements but some allows duplicate elements. Collection interface is base on which collection framework is built. … Read more

What Is Use Of “Super” Keyword In Java?

Earlier we have talked about method overriding concept in java during THIS POST to change the implementation of parent class’s method in sub class. In inheritance, Super keyword is used to refer object of immediate parent class. Generally we are using super keyword in inheritance for three different purpose. Let’s see how and when to … Read more