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 the difference between abstract class and interface1? What is an interface?
How do you use nextline in java?
What sorting algorithm does javascript use?
How many types of variables are there?
Is static variable stored in heap?
What is a constructor overloading in java?
What is hashtable and explain features of hashtable?
What are three ways in which a thread can enter the waiting state in java programming?
What is executor memory?
What are the object and class classes used for?
What is bufferedreader in java?
What is the purpose of the system class in java?
Why does java not allow multiple public classes in a java file ?
What is sorting in java?
List the different types of classloaders in java.