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


Please Help Members By Posting Answers For Below Questions

Can you give few examples of final classes defined in java api?

769


Can we override private methods?

754


What is constructor and virtual function? Can we call a virtual function in a constructor?

887


How do you escape in java?

792


What is the default access specifier for variables and methods of a class?

816


can rmi and corba based applications interact ?

837


Is java se free?

700


Why is stringbuffer not immutable?

761


Explain about varargs in java?

864


How many types of memory areas are allocated by JVM in java?

786


What is the difference between multiple processes and multiple threads?

780


What is method with example?

769


how to deploy tomcatserver to weblogic server? write d following steps?

1657


Can we create our own daemon thread?

721


Write a program to search a number in the given list of numbers.

812