Why Java is not purely object oriented?
Answer Posted / swetcha
Although Java is object-oriented to a great extent, it is
not a pure object-oriented language. One of the reasons
Java is not purely object-oriented is that not everything
in it is an object. For example, Java allows you to declare
variables of primitive types (int, float, boolean, etc.)
that aren't objects. And Java has static fields and
methods, which are independent and separate from objects
Is This Answer Correct ? | 369 Yes | 48 No |
Post New Answer View All Answers
What’s the difference between applets and standalone program?
Why is multiple inheritance not supported in java?
What is ternary operator in java?
How do you compare two objects?
Is a char always 1 byte?
What is method overriding in java ?
Can we serialize static variables in java?
Can you call a method on a null object?
How do you execute a thread in java?
What happens when a thrown exception is not handled?
What is the final keyword in java?
What is hashmap and map?
What is meant by oops concept in java?
Is node a data type in java?
How many threads can I run java?