why java is not pure object oriented language?
-
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.
-
Answer:
This is a homework question, right? Primitive types, that's why. For instance try this: int i = 42; System.err.println(i.toString());
Pushpendra Kuntal at Stack Overflow Visit the source
Other answers
The usual objection is that Java is not "purely" OO because it has primitive types (int, double, etc.), which are not objects.
JB Nizet
To make proof by contradiction: Java has int, and int, like all primitive types in Java, is not an Object. There are possibly more reasons, though.
Waldheinz
Related Q & A:
- What are the object-oriented features of Visual Basic.NET?Best solution by msdn.microsoft.com
- How to Convert a Procedural Programming into Object-Oriented Programming?Best solution by Stack Overflow
- Why it is important to use inclusive language?Best solution by wiki.answers.com
- Is it possible to access the Mac address book API from pure Java?Best solution by Stack Overflow
- Is java or visual basic a machine level, low level, high level or binary level programming language?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.