aspose file tools*
The moose likes Beginning Java and the fly likes Is java Pure Object Oriented Programing language? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is java Pure Object Oriented Programing language?" Watch "Is java Pure Object Oriented Programing language?" New topic
Author

Is java Pure Object Oriented Programing language?

santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Hi Friends?

Is java pure object oriented programing language ? if so please justify it


Creativity is nothing but Breaking Rules
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Santosh,
Please read this
http://faq.javaranch.com/java/DoYourOwnHomework

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2969
    
    9
No.

Fortunately, we're only asked to justify it if the answer is yes.
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Maneesh Godbole wrote:Santosh,
Please read this
http://faq.javaranch.com/java/DoYourOwnHomework


hi Maneesh please don't mind for this question im asking i had read so many books in some books they are telling its pure in some they are telling not pure.....for pure they will give justification like ... in java we will do with in class itself.. for not pure they will give justification like this pure oop means every thing must be defined in terms of object but in java we are declaring static fields which are not defined through objects..... and in some articals they are telling Simula is the only language which is pure OOP ...please justify which one is correct..?
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Mike Simmons wrote:No.

Fortunately, we're only asked to justify it if the answer is yes.

Please provide justification for not pure..?
Sujai Kaarthik
Ranch Hand

Joined: Dec 29, 2008
Posts: 162
Java is not a pure OOP language

The qualities that have to be satisfied to be a pure one are:

1. Encapsulation
2. Inheritance
3. Polymorphism
4. All pre-defined types should be objects
5. All operations are done through objects
6. All user defined types should be objects

In Java's case, it supports primitive data types such as int, byte, etc., which are not objects


The greater danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Note that there's no single, generally agreed upon, definition of what a "pure OO language" is. So while most people would say that Java is not "pure OO", the answer may still not fly with the person who asked it.


Ping & DNS - updated with new look and Ping home screen widget
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2969
    
    9
santhosh.R gowda wrote:Please provide justification for not pure..?

Well, now you're changing the question. That hardly seems fair. ;)

But Sujai's post gives one possible answer. Probably the most common answer to this question. And more importantly I agree with Ulf that there's no one definition of what constitutes a "pure" OO language anyway. Why is it important that a language be "pure" OO?
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2969
    
    9
And if you use the Search function to look for "put object oriented", or even just "pure", in these forums, you will probably find more repetitions of this question and these answers than you could ever have imagined.
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
thanks for all,
finally java is not pure object oriented programing language
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is java Pure Object Oriented Programing language?
 
Similar Threads
jvm portability and java object oriented feature
why java is not 100% object oriented
is java object oriented
object oriented
java -A pure OOPS?