In this section, we will discuss OOPs Fundamental
Objectives :
- Principle of Object-Oriented Programming
- Limitation of Structural Programming Language
- Features of OOPs
- Fundamentals of OOPs
Introduction:
We all know that the java programming language has been developed on the basis of Object-Oriented programming concept. So before going to the Java Programming, we need to understand the principle of Object-Oriented Programming (OOPs).
One thing you may ask that why OOPs is needed?
The answer is the because of pitfall or drawbacks of the conventional programming language like C, COBOL etc. Drawback are like
- Lack of Security
- Integrity of Data
- Inefficient modularity
All the above drawbacks are solved by using the OOPs concept.
If you want to understand the OOPs concept then first things will come to your mind is Object. What is Object exactly?
Object is nothing but the instance of Class. Now what is class?
Class is an abstract concept. It is a template which contains data and methods.
Still confused ?
Let’s understand the concept of class and object with a real time example.
Class & Object:

According to OOPs Fundamental, Object is an instance of Class. Class is template which contains various characteristic or attributes of the object. From the above example, If Human is a class which contains the characteristics, Ram is the Object which satisfying the characteristics mentioned in class.
In other way, you can convey that Object is the entity which communicates with the environment. But a class is an abstract concept of it which consist of attributes and characteristics.
Since class is a template, it does not occupy the memory whereas Objects occupy the memory. Methods or functions can manipulate the data present in the Object.
In the next section we will discuss more about the OOPs Concept.
Summery:
- Class is template which contains various characteristic or attributes of the object.
- Java programming language has been developed on the basis of Object-Oriented programming concept
- Object is an instance of Class. Class is template which contains various characteristic or attributes of the object.
- Since class is a template, it does not occupy memory. But Object occupy memory.