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


Please Help Members By Posting Answers For Below Questions

What is called module?

573


How do you reverse a list?

558


What is static keyword in java?

555


What is ide with example?

550


Can we overload final method in java?

557






What are examples of modifiers?

518


What is empty list in java?

629


What is boolean false?

531


What is java instanceof operator?

566


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

576


What is an anonymous class in java?

552


Can you override private or static method in java?

556


Explain implementation and how is it different from conversion?

591


How to convert string to char and vice versa?

520


Do you need to import math in java?

566