Pure Object Oriented

*Is JAVA a pure object oriented language?

Answer:
Java is a OOP language and it is not a pure Object Based Programming Language.
Many languages are Object Oriented. There are six qualities to be satisfied for a programming language to be pure Object Oriented. They are:

1) Encapsulation/Data Hiding
2) Inheritance
3) Polymorphism
4) All predifined types are objects
5) All operations are performed by sending messages to objects
6) All user defined types are objects.

JAVA is not because it supports Primitive datatype such as int, byte, long… etc, to be used, which are not objects.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License