Why Java is not Pure Object Oriented Language
Categories: Core Java
Java into pure object oriented because. Java is object-orientedprogramming language but it is not pure Oops.These following features is usedin language is pure oops
- Encapsulation
- Inheritance
- Polymorphism
- Abstraction
All predefined types aremust objects.
All operations are performed by sending message to objects.|
All user defined types must objects.
These following featuresis used in language is not pure oops.
- Java is not oops because it supports primitive data type such as byte, int, short, long, char, float,double is used which are not objects.
- Java does not supportmultiple inheritance directly.
- Java supports static variables that are not the part of classes and objects.