Bookmark Topic Watch Topic
  • New Topic

Is Java pure OOPS!!!

 
Harry Singh
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Report post to moderator
HI java gurus,
I'm a novice in java and this questions is lingering on in my mind for long Hope i cna get the answer here.I started learning java as i was told that it is the pure OOPS. But when i started learning it, then i came to know that java is not pure oops. isnt it? See the primitives types in Java. They are not OOPS or in any way define Object oriented approach.So can anyone tell me are the data types in Java conform to OOPS methodology or not?
Secondly, there is a method mail in java program.so is this also OOPS. if this is OOPS then where is the main method from which java program inherit or use...
Thanks in advance
Regards,
Harry
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
Java is a not a pure OOP.It is hybrid OOPS.
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi
the primitive types are here for convenience and speed. you can use their wrappers if you dont wan't to or can't use the primitives (eg. for holding them in vectors)

p
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Report post to moderator
See http://www.coderanch.com/t/391781/java/java/java-pure-OOPS
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm closing this thread. Please follow the link provided by Ilja to continue this conversation...
 
    Bookmark Topic Watch Topic
  • New Topic