my dog learned polymorphism
The moose likes Beginning Java and the fly likes Is Java pure OOPS!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Is Java pure OOPS!!!

Harry Singh
Ranch Hand

Joined: May 02, 2001
Posts: 124
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 is this also OOPS. if this is OOPS then where is the main method from which java program inherit or use...
Thanks in advance
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Java is a not a pure OOP.It is hybrid OOPS.

pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
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)

Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
I'm closing this thread. Please follow the link provided by Ilja to continue this conversation...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Is Java pure OOPS!!!
It's not a secret anymore!