Why Java is not purely object oriented?

Answer Posted / abhi

Java is an OOP language but not a pure Object Oriented
Programming Language.

There are six qualities to make a programming language to
be pure Object Oriented. They are:

i)Encapsulation/Data Hiding
ii)Inheritance
iii)Polymorphism
iv)All predifined types are objects
v)All operations are performed by sending messages to
objects
and vi)All user defined types are objects.

Primitive data types, such as int, char, boolean are not
Objects,which are used by Java.It's why Java is not a "pure
object oriented programming language".

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile data type?

549


whatis Home interface and Remoteinterface? with example?

1539


What is style and indentation?

546


Is vector ordered in java?

531


Compare java and python.

573






What is the difference between Java1.4 and Java1.5

1823


What are the main differences between the java platform and other platforms?

524


Is null or empty java?

529


What are different types of multitasking?

538


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

493


Why pointers are not used in java?

577


What does split function do in java?

530


Explain importance of finally block in java?

576


What is blank final variable?

559


Can static methods be inherited?

531