0 votes
by

What are Encapsulation, Inheritance and Polymorphism in Java?

1 Answer

0 votes
by
Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse.

Inheritance is the process by which one object acquires the properties of another object.

Polymorphism is the feature that allows one interface to be used for general class actions.

Related questions

0 votes
asked Oct 18, 2020 in JAVA by sharadyadav1986
+1 vote
asked May 14, 2019 in C Plus Plus by anonymous
0 votes
asked May 25, 2020 in JAVA by Robindeniel
...