As the name collection is a group of individual objects in java. When objects are grouped it represents a single unit.
For example:- Suppose we have an individual's double roti. If we collected them it represents a single unit As shown in the given figure.

In java, the collection is…

OOPs Refers to Object-Oriented Programming Model that provides different types of concept’s such as inheritance, polymorphism, abstraction, encapsulations in java or any other language so let’s start to talk about each concept’s in detail.

Inheritance

If we do focus on the word inheritance, it gives the feeling of parent and child…

Achalgupta

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store