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

What is the difference between serializable and externalizable interfaces?

0 Answers  


solve (x-1)(x-9)=8;

3 Answers   IBM, Manhattan, TCS,


What are singleton services?

0 Answers  


diff between abstract methods and interfaces with programing (code) example?

2 Answers  


In what types of operations an ArithmeticException will be thrown?

3 Answers  






What is the difference between && and & in java?

0 Answers  


How can we handle runtime exceptions? write one sample program? Can we write runtime exceptions beside the throws key word? if yes write sample program?

1 Answers   Huawei,


they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }

2 Answers   DNS, IPSR Solutions,


What environment variables are required to be set on a machine in order to run Java programs?

0 Answers   Tech Mahindra,


What is garbage collection? Can it be forced to run?

0 Answers   Global Logic,


Explain Big-O notation with an example

1 Answers  


Why java Don't Support Multiple interitence

8 Answers   ABC, Exilant, IBM,


Categories