Why java is not 100% Object-oriented?

1 votes
Kavya Dubey asked 14-Nov-2017 in programming by Kavya Dubey

Why java is not 100% Object-oriented?

1 Answer

0 votes
Arti Mishra answered 12-Aug-2018 by Arti Mishra

"Object Oriented Programming Language"

Java is not 100% object –oriented programming language because it support primitive datatypes likes- int, float, char, long, boolean, byte...... etc.  Which are not objects. So for this reason Java is not pure object oriented programming language.

Properties of Pure OOP's Language
  • There are some properties of Pure OOP’s based language.

                   1. Inheritance

                    2. Polymorphism

                    3. Abstraction

                    4. Encapsulation/Data Hiding

  • All predefined and user defined types are must be objects.
  • It doesn’t support any primitive data type(like int, char, float, bool, etc.).