Why Java is not purely object oriented?
Answer Posted / nilesh b
As in C++ and some other object-oriented languages,
variables of Java's primitive data types are not objects.
Values of primitive types are either stored directly in
fields (for objects) or on the stack (for methods) rather
than on the heap, as commonly true for objects . This was a
conscious decision by Java's designers for performance
reasons. Because of this, Java was not considered to be a
pure object-oriented programming language.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the memory leak in java?
Can we use catch statement for checked exceptions?
How many bits is a char?
Is java a utf 8 string?
What programs use java?
In which order the iterator iterates over collection?
Difference between static binding and dynamic binding?
What is the static import?
what is synchronization? : Java thread
Is java pass by value or pass by reference?
What is a boolean in java?
Why main method is static in java?
Is 0 an irrational number?
How do you convert boolean to boolean?
How do listeners work?