Computer Science, asked by muakanshakya, 1 year ago

\huge{\bold{Heya!!}}

__________________________


•Write briefly about the four principles of OOP'S in Java .

_______________

•Don't spam❌



Answers

Answered by clementinamaria51
0

abstract,inheritence,polymorphism,encapsulation


clementinamaria51: Abstraction is a process of hiding the implementation details from the user. Оnly the functionality will be provided to the user.
clementinamaria51: Inheritance is a mechanism wherein a new class is derived from an existing class. In Java, classes may inherit or acquire the properties and methods of other classes. A class derived from another class is called a subclass, whereas the class from which a subclass is derived is called a superclass.
clementinamaria51: Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic.
clementinamaria51: Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction. Encapsulation in Java is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit.
clementinamaria51: sorry ,i just forgot to explain them
Answered by elizebeth100
0
Hi
They are classes, data hiding, inheritance, polymorphism, and abstraction.
Similar questions