Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is Java pure OOPS!!!

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,
Java is a not a pure OOP.It is hybrid OOPS.
 
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
See https://coderanch.com/t/391781/java/java/java-pure-OOPS
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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