1.What is the different OOPS principle?
Answers
Answered by
1
Object Oriented Programming – Java Oops Concepts With Examples. Object Oriented programming is a programming style which is associated with the concepts like class, object, Inheritance, Encapsulation, Abstraction, Polymorphism. ... Inheritance. Encapsulation. ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
hope it helps you.
mark me brainlist friend.
Answered by
47
OOPS in Java:
(i) Class:
It is the way of binding the data and its associated methods in a single unit.
(ii) Object:
In order to store the data members of the class, we must create an object.
(iii) Data Abstraction:
Retrieving the essential details without dealing with background details.
(iv) Data Encapsulation:
Process of wrapping up on data and associated methods in a single unit.
(v) Inheritance:
Process of obtaining data members and methods from one class to another class is called Inheritance.
(vi) Polymorphism:
Process of representing one form into another form is called polymorphism.
Hope it helps!
Similar questions