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

How can we avoid including a header more than once?

614


Write a function for palindrome and factorial and explain?

661


How to perform bubble sort in java?

592


What is the difference between int and integer in java?

518


What do you mean by static variable?

582






What is the difference between jfc & wfc?

599


What is purpose of find feature?

616


What is the purpose of garbage collection in java?

657


Why is stringbuffer thread safe?

572


How do singleton patterns work?

521


What is the use of StringTokenizer class?

615


What is the differences between heap and stack memory in java? Explain

537


What does you mean in math?

539


Why java doesn’t support multiple inheritances?

588


What is the purpose of final keyword and when to use it?

530