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 you give few examples of final classes defined in java api?
Can we override private methods?
What is constructor and virtual function? Can we call a virtual function in a constructor?
How do you escape in java?
What is the default access specifier for variables and methods of a class?
can rmi and corba based applications interact ?
Is java se free?
Why is stringbuffer not immutable?
Explain about varargs in java?
How many types of memory areas are allocated by JVM in java?
What is the difference between multiple processes and multiple threads?
What is method with example?
how to deploy tomcatserver to weblogic server? write d following steps?
Can we create our own daemon thread?
Write a program to search a number in the given list of numbers.