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

Is a boolean 1 bit?

833


What is the base class in java from which all classes are derived?

732


What are the wrapped, classes?

790


What are the main uses of this keyword?

809


Explain illegalmonitorstateexception and when it will be thrown?

830


What is pangram in java?

769


What flag up means?

797


Can we override the private methods?

732


what do you mean by classloader in java?

781


Write a program to search a number in the given list of numbers.

827


What is primitive array?

677


What are the two ways to create a thread?

744


What is the purpose of interface?

784


What is widening and narrowing in java? Discuss with an example.

765


Is minecraft java edition free?

846