aspose file tools*
The moose likes Beginning Java and the fly likes OOP in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "OOP in Java" Watch "OOP in Java" New topic
Author

OOP in Java

Sumukh Deshpande
Ranch Hand

Joined: Feb 17, 2008
Posts: 87

I have a question : Is Java 100% object oriented?

I went through many references and links on the web and found some answers for Java not being fully Object Oriented:

1. Java supports primitive datatypes like int,char etc.
2. Java allows static support.

Can you add some other reasons if any and also correct if above reasons are not correct ?

Thanks in advance.



Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39869
    
  28
Please search JavaRanch because that same question comes up about once a month, and see what people have already said.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

(I'm not sure that having static methods/variables isn't OO, either; I'd have to be convinced of that. Other more OO-ish languages also have class-level methods and data.)
Steve Fahlbusch
Bartender

Joined: Sep 18, 2000
Posts: 581
    
    7

Very Simply - what exactly do you mean by 100% Object Oriented?

Answering that will answer your question. (ie: 100% Object Oriented has no defined meaning - ie: it is meaningless)

By the way - what happens if Java is only 96.3% Object Oriented?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Steve Fahlbusch wrote:By the way - what happens if Java is only 96.3% Object Oriented?

It would have improved dramatically.
Prakash Mani - Attur
Ranch Hand

Joined: Oct 08, 2009
Posts: 100
Steve Fahlbusch wrote:Very Simply - what exactly do you mean by 100% Object Oriented?

Answering that will answer your question. (ie: 100% Object Oriented has no defined meaning - ie: it is meaningless)

By the way - what happens if Java is only 96.3% Object Oriented?


Your reply is very funny.. I laughed for more than 2 min by seeing your reply..for Sumukh Deshpande this question might have arose because people say "Java is the purely OO language"..
well Sumukh, we will conclude whether pure means 100% after this discussion..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: OOP in Java