+ 2
Why Java is not fully object oriented ?
Java Questions
8 Respostas
+ 6
Why do you say Java is not fully object oriented?
Avinesh Ohh
+ 6
It is because of the primitive data types which do not have corresponding classes for them.
Though we have wrapper classes for every primitive type but every object of the wrapper class undergoes unboxing internally before any operations are performed on it and autoboxing is done before they return any value.
So internally they do not behave as objects and are dealt as primitives.
+ 5
Because java has primitive data types
0
Which languages are purely Object Oriented?
- 1
Java is not fully object oriented because it supports primitive data type like it,byte,long etc.,which are not objects. All operations performed on objects must be only through methods exposed at the objects. To learn the concepts of java programming one can go for online java courses: https://www.cetpainfotech.com/en-ae/java-training-in-dubai
- 2
Because in JAVA we use data types like int, float, double etc which are not object oriented, and of course is what opposite of OOP is. That is why JAVA is not 100% objected oriented.