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


Please Help Members By Posting Answers For Below Questions

What’s the difference between applets and standalone program?

527


Why is multiple inheritance not supported in java?

557


What is ternary operator in java?

589


How do you compare two objects?

516


Is a char always 1 byte?

500






What is method overriding in java ?

650


Can we serialize static variables in java?

646


Can you call a method on a null object?

559


How do you execute a thread in java?

501


What happens when a thrown exception is not handled?

576


What is the final keyword in java?

545


What is hashmap and map?

546


What is meant by oops concept in java?

500


Is node a data type in java?

489


How many threads can I run java?

536