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
What is java algorithm?
List some java keywords sun like c, c + + keywords?
How do you implement singleton class?
What is a Hash Table? What are the advantages of using a hash table?
Can an abstract class be a final class?
Can a string be null?
What are passing parameters?
What are the differences between include directive and include action?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
How do you reverse a string in java without using string buffer?
What is a conditional equation?
Explain the access modifiers for a class, method and variables?
Can we change the value of static variable?
What is set string?
What is java string pool?