Why java is not 100% object oriented?

Showing Answers 1 - 19 of 19 Answers

charlie harvey - http://charlieharvey.org.uk

  • Mar 29th, 2006
 

Primatives i.e. ints, chars, longs,floats,doubles, etc. are not objects in Java.

  Was this answer useful?  Yes

Ramesh Kumar

  • Apr 7th, 2006
 

 JAVA is not a purely oops concept.Because,Java doesn't support Multiple & Multi-level inheritance.

P.SELVI

  • May 29th, 2006
 

YES , Java is a 100% object oriented..It does support mulitiple inheritace directly, instead of that we can use interfaces..with the help of interface implicitly we can use multiple inheritace,,, so it is 100% object oriented

  Was this answer useful?  Yes

prawin

  • Jul 25th, 2006
 

Yes. Java is a pure object oriented language. We have wrapper classes like Integer, Float, Character in which values are treated as objects. In addition, each and every variable can only be declared inside a class. So its purely object oriented.

  Was this answer useful?  Yes

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 is why Java is not a "pure object oriented programming language".

pradeep choubey

  • Oct 3rd, 2011
 

because in c language we use primitive data type such as int , char , boolean but c is not object oriented language. but java use all primitive type object so we can say that java is not 100 % oop lang..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions