Why Java is not purely object oriented?
Answer Posted / kamal kankarwal
We can call a lang OOP if it supports three characteristics
1. Encapsulation
2. Polymorphism
3. Inheritence
For calling a lang pure(or 100%)OOP all the component must
be in OOP framework.
But in Java data types such as int char float double etc
are also defined as both in Object and Premitive form.
eg. int i=5;// Violates Pure OOP framework
Integer in=new Integer(5);
However we can not call it Pure rather it support OOP
framework in a TRUE sence. Hence we can call it TRUE OOP
lang.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is integer a class?
What do you mean by synchronized non access modifier?
What is java autoboxing?
How do you avoid global variables?
What is the meaning of variable in research?
What one should take care of, while serializing the object?
Does java allow default arguments?
What is the java idl system?
How listener identify that the event came from a particular object?
How strings are created in java?
Why hashset is used in java?
What is null object in java?
What are the two parts of a conditional statement?
What is the main function in java?
What is the difference between class forname and new?