Why Java is not purely object oriented?

Answers were Sorted based on User's Feedback



Why Java is not purely object oriented?..

Answer / kiran kumar maharana

Java is not purely object oriented language because following
1)primitive datatypes are not the object type
2)static concept is not the part of class & object
3)All user defined types are not objects
4) All operations are performed by sending messages to objects

Is This Answer Correct ?    4 Yes 0 No

Why Java is not purely object oriented?..

Answer / ved

java is not pure object oriented language becoz of two main
reasons
1. java uses primitive data type. means every thing in java
is not the object and classes.
2. it supports static variables that are not the part of
classes and object.
these are two main reason that's why java is not pure
object oriented languge.

Is This Answer Correct ?    5 Yes 2 No

Why Java is not purely object oriented?..

Answer / abhijit sawant

I think java is not purely object oriented bcoz there are
some concepts which are not implemented in java like
multiple inheritance.
we can implement it by using the concept interface.
we cannot implement it directly so the java is not purely
object oriented.

Is This Answer Correct ?    2 Yes 0 No

Why Java is not purely object oriented?..

Answer / babu

java is not pure object oriented language because of two main
reasons,
1. java uses primitive data type. means every thing in java
is not the object and classes.
2. it supports static variables that are not the part of
classes and object.
these are two main reason that's why java is not pure
object oriented languge.

Is This Answer Correct ?    2 Yes 0 No

Why Java is not purely object oriented?..

Answer / nilesh b

As in C++ and some other object-oriented languages,
variables of Java's primitive data types are not objects.
Values of primitive types are either stored directly in
fields (for objects) or on the stack (for methods) rather
than on the heap, as commonly true for objects . This was a
conscious decision by Java's designers for performance
reasons. Because of this, Java was not considered to be a
pure object-oriented programming language.

Is This Answer Correct ?    2 Yes 0 No

Why Java is not purely object oriented?..

Answer / ravikiran

Because it doenn't support multiple inheritence in a direct
manner,Even though interfaces used for the purpose
And it doesn't support pointers

Is This Answer Correct ?    7 Yes 6 No

Why Java is not purely object oriented?..

Answer / edward sudhaharchennai

Even though we cannot write parogramme in java without
classes and objects , Still java allows to use primitive
types. So i can say java is not 100% object oriented....

Is This Answer Correct ?    4 Yes 3 No

Why Java is not purely object oriented?..

Answer / 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

Why Java is not purely object oriented?..

Answer / sujith

Java is not purely objected oriented because it does not support multiple inheritance and operative overloading. But multiple inheritance is possible with the help of interfaces.

Is This Answer Correct ?    1 Yes 0 No

Why Java is not purely object oriented?..

Answer / dhiru

Java is not a puerly object oriented language because in
java program also run without main

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we have static methods in an interface?

0 Answers  


Explain the Propertie sof class?

0 Answers  


What do you understand by the term string pool?

0 Answers  


what difference between throw and throws in exception handling.

5 Answers  


What is sortedmap interface?

0 Answers  






What do bitwise operators do?

0 Answers  


How to overcome the exception object reference not set to an instance of object?

0 Answers   Wipro,


what is the volatile modifier for? : Java thread

0 Answers  


What are the elements of java?

0 Answers  


What is difference between hashset and hashmap?

0 Answers  


What is the integer of 16?

0 Answers  


Is JRE required to compile Java files ?

4 Answers   HCL,


Categories