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
How do I find and replace in word?
How many types of interfaces are there?
What is substring 1 in java?
Realized?
What is compareto?
How is hashset defined in java?
Can we write any code after throw statement?
Can you explain the final method modifier?
Can a constructor call the constructor of parent class?
What is get () in java?
Is static variable stored in heap?
What are the main differences between the java platform and other platforms?
How to perform linear search in java?
Is there any limitation of using inheritance?
What is the benefit of inner / nested classes ?