Binding (or wrapping) code and data together into a single unit are known as encapsulation. For example, a capsule is wrapped with different medicines. Java Encapsulation reduces the code redundancy…
Hiding internal details and showing functionality is known as abstraction. For example phone call, we don't know the internal processing. The user will have the information on what the object…
If one task is performed in different ways, it is known as polymorphism. For example: to convince the customer differently, to draw something, for example, shape, triangle, rectangle, etc. In…
We will one of the most important concept of JAVA OOP is java inheritance. When one object acquires all the properties and behaviors of a parent object, it is known…
In this article, we will learn about objects and classes with real-life examples. Java objects and classes are the main components of JAVA. Object Everything in Java is associated with…
Today, we will learn the fundamentals of Object Oriented programming programming. First of all, we have to know the meaning of Object and then we go through the others part.…
We will build a number guessing game to generate a random number. In the last episode, I discussed Java objects and classes. To understand objects and classes, We will create a funny game name…