Why java is not 100% Object-oriented?

Asked 14-Nov-2017
Viewed 364 times

1

Why java is not 100% Object-oriented?


1 Answer


0

'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.).


Loading...
Ads