Why Java is not purely object oriented?

Answer Posted / hitesh singh

It is true Java is not purely object-oriented programmig
language because everything is not
in an object. e.g: Java allows you to declare variables of
primitive types i.e int, float, boolean, etc. that aren't
objects. And Java has static keyword which allow user to
create static methods and variables, which are independent
and separate from objects.we cannot implement multiple
inheritance in java using classes and if we want to perform
multiple inheritance in java program so that we have to go
for inferface scenario.In java, there is only way to
implement mutiple inheritance in java.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the destroy method?

582


How to create an immutable class?

564


What is the difference between static and non-static variables in java programming?

515


what is encapsulation in java? Explain

659


How do you remove all elements from an arraylist in java?

499






What is Session reduplication and how its done?

1560


Is arraylist ordered in java?

566


What is meant by distributed application? Why are we using that in our application?

543


What are different types of classloaders?

583


When a byte datatype is used?

561


What is the same as procedures?

527


What is the purpose of garbage collection in java, and when is it used?

559


What is assembly language?

547


Can this keyword be used to refer static members?

540


How many bits is a word?

555