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
What is volatile data type?
whatis Home interface and Remoteinterface? with example?
What is style and indentation?
Is vector ordered in java?
Compare java and python.
What is the difference between Java1.4 and Java1.5
What are the main differences between the java platform and other platforms?
Is null or empty java?
What are different types of multitasking?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
Why pointers are not used in java?
What does split function do in java?
Explain importance of finally block in java?
What is blank final variable?
Can static methods be inherited?