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
Can we extend a class with private constructor?
Why vector is used in java?
Why string objects are immutable in java?
Can a constructor call another constructor?
Does java vector allow null?
What are different exception types exceptions available in java ?
What is serialization in java?
Can we override the static method?
Differentiate between overriding and overloading cases?
What is gui programming?
What are memory tables?
Does java isempty check for null?
What is a java object and java application?
What is ordered map in java?
What are the three parts of a lambda expression? What is the type of lambda expression?