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 the purpose of the strictfp keyword?
when should you use stringbuilder class in a program?
What is a class variable?
What are the changes in java.io in java 8 ?
How long will it take to learn java?
Does substring create a new object?
What is a percentage sign called?
How does hashset work in java?
What is the main use of generics in java?
What is the difference between path and classpath variables?
What are benefits of java?
What is a treeset class?
What does || mean in vectors?
Can you call a method in a method?
Does set allows null in java?