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

Can we create an object of static class in java?

592


What are the steps that are followed when two computers connect through tcp?

517


What is array length?

501


What are the three best choices for a development environment?

600


How many decimal places is a double?

533






Can we catch more than one exception in a single catch block?

624


What is the benefit of singleton pattern?

523


What do you understand by synchronization?

588


What are the features of java?

531


why would you use a synchronized block vs. Synchronized method? : Java thread

534


What is the difference between applet and application?

544


What is null statement?

530


Can a private method of a superclass be declared within a subclass?

528


How to add menushortcut to menu item?

559


Explain importance of inheritance in java?

604