What is the definition of OOPs in Java? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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.

27th Jan 2017, 4:59 AM
Krishn Veer (CCSU)
Krishn Veer (CCSU) - avatar
1 Resposta
0
Java fails on OOP at all predefined types not beeing an object.
1st Feb 2017, 1:15 PM
Felipe Cruz
Felipe Cruz - avatar