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
How are java objects passed to a method and what are native methods?
What is an enumeration?
Does java support multiple inheritances?
Does list maintain insertion order java?
Can you explain the usages of class.forname()?
Why unicode is important?
What is java’s garbage collected heap?
How to use string tokenizer class.
What is boolean logic?
What is the advantage of preparedstatement over statement?
Are strings immutable in java?
What is advantage of java?
What is string builder in java?
What is the order of arraylist in java?
What is the applet security manager, and what does it provide?