Why Java is not pure Object Oriented Language?
Previous | Home | Next |
Java is an OOPS language and it is not a pure OOPS Language.
The main OOP features are:
Encapsulation
Inheritance
Polymorphism
Abstraction
All predefined types must objects
All operations are performed by sending messages to objects
All user defined types must objects.
JAVA is not because it supports Primitive data type such as int, short, long ,char, byte, double, float is used which are not objects.
Java does not support multiple inheritances directly.
Java supports static variables that are not the part of Classes and object.
Previous | Home | Next |