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 are the parts of a method?
What is the common usage of serialization?
In java, what is the difference between method overloading and method overriding?
what is meant by Byte code concept in Java?
Why parameters should be passed by reference?
How infinite loop is declared?
How do you access command-line arguments within the code?
Why do I need to declare the type of a variable in java?
What are green threads in java?
What is constant in programming?
Why do we create public static method in java?
What languages are pass by reference?
How do you sort in java?
Is java free for businesses?
What is the numeric promotion?