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


Please Help Members By Posting Answers For Below Questions

What is the difference between abstract class and interface1? What is an interface?

794


How do you use nextline in java?

713


What sorting algorithm does javascript use?

764


How many types of variables are there?

897


Is static variable stored in heap?

717


What is a constructor overloading in java?

766


What is hashtable and explain features of hashtable?

774


What are three ways in which a thread can enter the waiting state in java programming?

920


What is executor memory?

735


What are the object and class classes used for?

805


What is bufferedreader in java?

788


What is the purpose of the system class in java?

781


Why does java not allow multiple public classes in a java file ?

3956


What is sorting in java?

745


List the different types of classloaders in java.

737