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 called module?
How do you reverse a list?
What is static keyword in java?
What is ide with example?
Can we overload final method in java?
What are examples of modifiers?
What is empty list in java?
What is boolean false?
What is java instanceof operator?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is an anonymous class in java?
Can you override private or static method in java?
Explain implementation and how is it different from conversion?
How to convert string to char and vice versa?
Do you need to import math in java?