Why Java is not purely object oriented?

Answer Posted / swetcha

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 ?    369 Yes 48 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tcp and udp?

596


What is java ceil?

568


Differences between external iteration and internal iteration?

570


What are nested classes in java?

600


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

596






Why vector class is used?

538


What is matcher in java?

512


Give a brief description of java socket programming?

523


Describe string intern() methodology

592


Which variables are stored in stack?

443


What is the multi-catch block in java?

528


Are variables stored in ram?

553


Can we override compareto method?

498


Why packages are used?

543


List implementations of list interface?

561