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 we extend a class with private constructor?

523


Why vector is used in java?

556


Why string objects are immutable in java?

563


Can a constructor call another constructor?

563


Does java vector allow null?

539






What are different exception types exceptions available in java ?

473


What is serialization in java?

560


Can we override the static method?

576


Differentiate between overriding and overloading cases?

595


What is gui programming?

516


What are memory tables?

606


Does java isempty check for null?

568


What is a java object and java application?

574


What is ordered map in java?

535


What are the three parts of a lambda expression? What is the type of lambda expression?

566