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 bitwise complement?
What is default constructors?
How large is a boolean?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
List down the methods and interfaces of collection class in java.
What are access specifiers available in java?
Which collection is sorted in java?
Can you create an object of an abstract class?
What is a Presistent Object?
List implementations of list interface?
Can we execute a program without main?
What is the range of a character variable?
Define an abstract class with reference to java.
Where are local variables stored?
Can keyword be used as identifier?