LinkedList

LinkedList stores a group of elements and it maintains order of insertion. For LinkedList we don’t specify the size, as we add elements, the size gets bigger automatically. Also LinkedList allows duplicates. This might sound similar to ArrayList. But the…

Read More

Collection

Introduction Java collection represents a group of individual objects that behaves as a single unit. The Java Collections Framework provides a set of interfaces and classes to create those groups. In one situation, you might want a group of objects…

Read More

Inheritance

We have discussed briefly about inheritance earlier. Today we will understand the concept in detail. A story Let’s assume you are working as a developer in a mobile company called YouPhone. Your manager asked you to write code for the…

Read More