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 java algorithm?

523


List some java keywords sun like c, c + + keywords?

592


How do you implement singleton class?

518


What is a Hash Table? What are the advantages of using a hash table?

610


Can an abstract class be a final class?

531






Can a string be null?

544


What are passing parameters?

588


What are the differences between include directive and include action?

546


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

523


How do you reverse a string in java without using string buffer?

593


What is a conditional equation?

562


Explain the access modifiers for a class, method and variables?

662


Can we change the value of static variable?

501


What is set string?

596


What is java string pool?

545