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 are thread safe functions?

0 Answers  


What is return type in java?

0 Answers  


What will be the output of the program? public class Test { public static void main(String args[]) { ArrayList<String> list = new ArrayList<String>(); list.add("2"); list.add("3"); list.add("4"); list.add("5"); System.out.println("size :"+list.size()); for(int i=0;i<list.size();i++) { list.remove(i); } System.out.println("size after:"+list.size()); } }

5 Answers   Rolta,


write a program that list all permutations of ABCDEF in which A appears before B?

0 Answers   Nissan,


What is number data type in java?

0 Answers  






Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.

2 Answers   Accenture,


What is linked hashmap and its features?

0 Answers  


What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


Name and explain the types of ways which are used to pass arguments in any function in java.

0 Answers  


What are the 8 primitive data types in java?

0 Answers  


Why java is object oriented?

0 Answers  


What is xslt in java?

0 Answers  


Categories