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 is a predicate method?
v-model life cycle
Difference between a class and an object?
what is the messsage u r going to get from an objectoriented programing?
What is jvm? Why is java called the platform independent programming language?
Should you use singleton pattern?
What is a top level class in java?
What’s the difference between unit, integration and functional testing?
What are the advantages of encapsulation in java?
Describe the Big-O Notation.
What are the restrictions imposed by a Security Manager on Applets?.
Why do we declare a class static?
What is a java list?
What are the procedures?
Why stringbuilder is not thread safe in java?