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
Can we create an object of static class in java?
What are the steps that are followed when two computers connect through tcp?
What is array length?
What are the three best choices for a development environment?
How many decimal places is a double?
Can we catch more than one exception in a single catch block?
What is the benefit of singleton pattern?
What do you understand by synchronization?
What are the features of java?
why would you use a synchronized block vs. Synchronized method? : Java thread
What is the difference between applet and application?
What is null statement?
Can a private method of a superclass be declared within a subclass?
How to add menushortcut to menu item?
Explain importance of inheritance in java?