Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OOP in Java

 
Sumukh Deshpande
Ranch Hand
Posts: 87
Firefox Browser IntelliJ IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 50266
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please search JavaRanch because that same question comes up about once a month, and see what people have already said.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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
Posts: 605
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic