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 do you mean by byte code?
What is Gang of four design patterns
Why do we need variables?
What is super?
Why do I need to declare the type of a variable in java?
Is integer immutable in java?
What does exp mean in math?
Why java is called not pure object oriented language?
How strings are created in java?
How will you invoke any external process in java?
What is listnode in java?
Is array serializable java?
Java Compiler is stored in JDK, JRE or JVM?
What is assembly language?
What is a constructor, constructor overloading in java?