Why Java is not purely object oriented?

Answers were Sorted based on User's Feedback



Why Java is not purely object oriented?..

Answer / devendu

One reason is we can write a java program without creating
an object.Another reason is java does not support multiple
inheritance exactly eventhough we use interface.

Is This Answer Correct ?    5 Yes 7 No

Why Java is not purely object oriented?..

Answer / bijay

java is not purely objaect oriented language because in
java we are using primitive data type & java does not
support multiple inheritance directly.

Is This Answer Correct ?    4 Yes 6 No

Why Java is not purely object oriented?..

Answer / elecen

Java is mostly an OOP language, but
We expect an OOP language to support:

Multiple Inheritance (not just implementations)
Overloading of operators

Java is inconvenient because:
Doesn't support Pointers :\
Both lightweight and heavyweight controls are CRAPPY!
You need to write hundreds of overhead code just to add some
typical functionality!
Doesn't provide access to some centralized message loop!!! :\

Java Sucks Big Time Because:
Takes like a zillion years to execute code that would take
just a few nano seconds in C++
Has HUGE loading times compared to C++
Is a memory leech!!!
Can't pass objects by reference!!! (mentioned pointers
already, didn't I? ;) :\


Java's nice because:
Runs anywhere a JRE is available :)
But then again, QT based apps run on Win, Linux and Mac, so
why bother?! :p

Bottom Line:
I have NOT a clue why they insist in teaching Java in
universities, while the BEST approaching method has ALWAYS
been C++ with some Assembly :D

Cheerz

Is This Answer Correct ?    2 Yes 4 No

Why Java is not purely object oriented?..

Answer / ritu bansal

No, java is a pure object oriented language because it
supports all the features of an object oriented programming
no doubt some features are there that says that it is not
object oriented programming, but still
e.g. java primittive data types are not objects but still
wrapper classes are used using which we can declare an
object of those data types. hence java is a pure object
oriented language

Is This Answer Correct ?    0 Yes 3 No

Why Java is not purely object oriented?..

Answer / priya

java is not purely object oriented b'coz
although we can't write a java program without a CLASS,it
can be without an OBJECT.
i.e. you can simply write the code in "public static void
main(String[] args)". and still it works. Similarly, C++ is
not b'coz u can write CPP program in "main()".

Is This Answer Correct ?    10 Yes 14 No

Why Java is not purely object oriented?..

Answer / rohit jadhav

Java is not a puerly object oriented language because the
concept of pointers is not used in java. Also, we cannot
implement multiple inheritance in java using only classes
and not an interface.

Is This Answer Correct ?    18 Yes 67 No

Why Java is not purely object oriented?..

Answer / gowrinath

java is purely object oriented language...as one of the
respondent was saying that java uses static key....though
it uses ststic key word its still object oriented...because
when ever we call static variable or static key word with
class reference the class object is loaded...in this way
java is pure object oriented language....

Is This Answer Correct ?    13 Yes 75 No

Why Java is not purely object oriented?..

Answer / amit

yes its a wrong question because java is pure Object
ORIENTED PROGRAMMING LANGUAGE.it have always always object
class wheather we difine or not and always overwrite println
() method

Is This Answer Correct ?    21 Yes 177 No

Why Java is not purely object oriented?..

Answer / chandra rekha

Java is a PURELY OBJECT ORIENTED PROGRAMMING LANGUAGE.

Is This Answer Correct ?    36 Yes 268 No

Why Java is not purely object oriented?..

Answer / srikanth

sorry, the question is wrong
Java is purely Object Oriented Language.
Since, without classes and objects we can't write a
single program in java.

example of language which is not purely object oriented
language is C++.
since, in c++ we can write programs with out classes and
objects.

Is This Answer Correct ?    60 Yes 306 No

Post New Answer

More Core Java Interview Questions

What is the return type of the main method?

0 Answers  


What is the difference between final, finally and finalize()?

0 Answers  


What is the difference between static and non-static variables in java programming?

0 Answers  


Is class forname reflection?

0 Answers  


What is functional interface in java?

0 Answers  






List interface?

2 Answers  


How do you write a good declaration?

0 Answers  


Can you start a thread twice in Java?

0 Answers  


What is the program compilation process?

0 Answers  


IS method overriding is Duplication of Methods?

5 Answers   CybAge,


How can you reverse a string?

8 Answers  


What is substring of a string?

1 Answers  


Categories