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 bitwise complement?

748


What is default constructors?

755


How large is a boolean?

792


From the two, which would be easier to write: synchronization code for ten threads or two threads?

842


List down the methods and interfaces of collection class in java.

777


What are access specifiers available in java?

808


Which collection is sorted in java?

805


Can you create an object of an abstract class?

788


What is a Presistent Object?

956


List implementations of list interface?

816


Can we execute a program without main?

768


What is the range of a character variable?

770


Define an abstract class with reference to java.

804


Where are local variables stored?

750


Can keyword be used as identifier?

754