Why Java is not purely object oriented?

Answer Posted / babu

Although Java is object-oriented to a great extent, it is
not a pure object-oriented language. One of the reasons
Java is not purely object-oriented is that not everything
in it is an object. For example, Java allows you to declare
variables of primitive types (int, float, boolean, etc.)
that aren't objects. And Java has static fields and
methods, which are independent and separate from objects

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define max and min heap, also the search time of heap.

596


What is the benefit of inner / nested classes ?

529


What is a boolean flag in java?

571


Which is a valid identifier?

548


What is immutable state?

508






When we should use serialization?

572


What is keyword and identifier?

644


Explain the difference between protected and default access.

518


In java, how we can disallow serialization of variables?

558


What is map java?

521


What about features of local inner class?

621


What does java se mean?

593


How to instantiate static nested classes in java?

566


What is the difference between C++ and Java and your preferences?

616


How does java enable high performance?

696