• Post Reply Bookmark Topic Watch Topic
  • New Topic

is java true object oriented language?  RSS feed

 
madhu gadde
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

can anyone clarify this : is java "true object oriented language or not"

I need a clear clarification if it is true or false.

Thanks in advance

Madhu Gadde
 
Georgy Bolyuba
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read first sentence
[ July 19, 2005: Message edited by: George Bolyuba ]
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by madhu gadde:
is java "true object oriented language or not"


First, give us THE definition for a "true object oriented language". Let's debate whether Java is a true OO language or not, based on that definition.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do people keep asking this? Does it feature in a common assignment or something?
 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone clarify this : is java "true object oriented language or not"


I would have to say that no, nobody can clarify this. It's been debated here many times, as Paul implies.

the real problem is that nobody agrees on exactly what "true object oriented language" means. Java DOES have all the things an OO language should have, like inheritance and so on.

But it also has non-objects - the primitives like ints and doubles.

Some folks here would even argue that to be "true OO", you shouldn't have things like "+"... you should have to use a method to add two things together.

So, unless you tell us what YOUR definition of "true OO language" is, nobody here can give you an answer.
 
Siddhartha Ghosh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java is the best language known to us all over to implement all the features of OO languages, Encapsulation, Polymorphism, etc. You get to implement UMLs using JAVA in the best possible manner and hence it also conforms to the OMG specs. IF JAVA'S NOT OO THEN NOTHING ELSE IS!
 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't think anyone here would say java is not OO, but that wasn't the question. The question was "is java PURE OO".

unless that 'pure' part is better defined, there can be no answer.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by fred rosenberger:
i don't think anyone here would say java is not OO, but that wasn't the question. The question was "is java PURE OO".


Well, as I'd say that Smalltalk is "more OO" than Java (for example), I probably wouldn't say that Java is "pure OO".

Wether Java is "true OO" is a quite different question, though, that I could only answer with mu.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Siddhartha Ghosh:
Java is the best language known to us all over to implement all the features of OO languages, Encapsulation, Polymorphism, etc. You get to implement UMLs using JAVA in the best possible manner and hence it also conforms to the OMG specs. IF JAVA'S NOT OO THEN NOTHING ELSE IS!


Sorry, I have to wholeheartedly disagree. Java is a nice language, but hardly the OO poster child!
[ July 20, 2005: Message edited by: Ilja Preuss ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!