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
Does chrome use java?
Why does abstract class have constructor?
What is the symbol for line break?
what is meant by Garbage collection?
Explain inner classes ?
Can you start a thread twice in Java?
What do you mean by object?
Can a class with private constructor be extended?
How do you control extraneous variables?
Is arraylist ordered in java?
What is the transient keyword?
when you will synchronize a piece of your code? : Java thread
What is the destroy method?
What is the use of StringTokenizer class?
What is flag in java?