Why Java is not purely object oriented?

Answer Posted / babu

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 ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why java is considered as platform independent?

601


What is the use of static class?

555


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

595


what is bmg file and how to create that files?what will it contailn?

1902


What is the purpose of static methods and variables?

535






What is r * in math?

558


What are the advantages of exception handling in java?

652


What do you mean by flow of struts?

755


Explain public static void main(string args[]) in java.

541


How are java objects passed to a method and what are native methods?

606


I want to re-reach and use an object once it has been garbage collected. How it's possible?

559


What is finalize method?

587


What differences exist between iterator and listiterator?

577


Why string is immutable with example?

540


What is java abstraction with example?

565