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
if u open login & logout ,how can udisplay the timelogin & logout members ?
what is the swingutilities.invokelater(runnable) method for? : Java thread
How do you add an element to an arraylist in java?
Explain different types of thread priorities ?
how to deploy tomcatserver to weblogic server? write d following steps?
What is a jagged array in java?
What is a treeset class?
what is meant by abstract class?
Explain about fail fast iterators in java?
What do you mean by formatting?
Why is it called boolean?
What are the restrictions imposed on method overriding?
What is gui programming?
What is difference between equals and hashcode method?
Can we have this () and super () together?