Why Java is Partially OOP language?

Why Java is Partially OOP language?
A. It supports usual declaration of primitive data types
B. It doesn’t support all types of inheritance

C. It allows code to be written outside classes
D. It does not support pointers

ANSWER: A) It supports usual declaration of primitive data types
Explanation : As Java supports usual declaration of data variables, it is partial implementation of OOP. Because according to rules of OOP, object constructors must be used, even for declaration of variables.

Leave a Comment