Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is Java fully ObjectOriented

 
Mintoo Jaiswal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is Java fully ObjectOriented if no then why
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This gets asked so often. Why do you want to know? Is this an assignment question?
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mintoo Jaiswal:
is Java fully ObjectOriented if no then why


Let us know your definition of a fully object oriented language, and then we can discuss where and where not Java meets the criteria of that definition.
 
George Daswani
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not completely object oriented - primitives, and it's missing a first-class meta-class (unlike in SmallTalk).

[ October 19, 2005: Message edited by: George Daswani ]
[ October 19, 2005: Message edited by: George Daswani ]
 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by George Daswani:
[QB]It's not completely object oriented - primitives, and it's missing a first-class meta-class (unlike in SmallTalk).


You'll note here that you have received "someone else's" definition of "Object-Oriented". As Barry said, you need to provide the context before an answer can be provided. There is no authoritative definition. In *my* definition, Java is not object-oriented, simply because using it in any way implies a software requirement defect, which is a direct contradiction of what I believe are the objectives of "Object-Oriented" programming languages.

I suspect you're not performing a survey for everyone's definition of "Object-Oriented".
[ October 20, 2005: Message edited by: Tony Morris ]
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And to strengthen Tony's point, in *my* definition Java *is* object oriented, because of the feature of polymorphism - although there are languages that are even *more* OO, such as Smalltalk, for a whole bunch of reasons.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic