I think java is pure object oriented, but in real it is not. But i dont know why java is not pure object oriented language, please help me to find out the reason.
-
What is your definition of pure object oriented? And why do you think Java is not? Any references?RBaarda– RBaarda2011-05-27 11:21:44 +00:00Commented May 27, 2011 at 11:21
-
1Have a look at a similar question here: stackoverflow.com/questions/974583/is-java-100-object-orientedslothrop– slothrop2011-05-27 11:21:45 +00:00Commented May 27, 2011 at 11:21
-
And this is your second question that will be closed. You should think about it.Peter Knego– Peter Knego2011-05-27 11:23:08 +00:00Commented May 27, 2011 at 11:23
-
2I support the close because it has been asked quite often at SO - but not the reason: it is a very real question. Please, close voters, take your time to find the duplicates, this helps the OP better then having a question downvoted and closed like this.Andreas Dolk– Andreas Dolk2011-05-27 12:04:23 +00:00Commented May 27, 2011 at 12:04
-
Hence OOP language always deals with only objects that is, every thing should be object whereas in java we use primitive data type(int, float ) that are not objects, so java in not pure OOP but more OOP supported than C language. Hence concept of wrapper classed (Integer etc)has been introduced in Java to resolve these non-object data type.Puneet Purohit– Puneet Purohit2013-01-04 05:47:11 +00:00Commented Jan 4, 2013 at 5:47
Add a comment
|