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 n in java?

543


What is a nested structure?

545


Can list contain null in java?

635


Explain about map interface in java?

597


What is a method type?

541






Do I need to import java.lang package any time? Why?

746


What does business logic mean?

513


Explain how hashmap works?

598


Can java list contain duplicates?

584


What is get () in java?

576


what is thread in Java ?

631


Can you run java program without main method?

551


What is jvm? Why is java called the platform independent programming language?

552


What is reverse function?

582


What is the main functionality of the remote reference layer?

1422