+ 2
What is the definition of OOPs in Java?
OOPS concept are generic i.e encapsulation and inheritance. Java does implement those OOPS concepts. inheritance is implemented using “extends” and “implements” keywords. Encapsulation is nothing but declaring variables within a class and making them private.
1 Respuesta
0
Java fails on OOP at all predefined types not beeing an object.