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
What is compiler and what its output.
What are java packages? What's the significance of packages?
What is null object in java?
What do you mean by mnemonics?
Explain wrapper classes in java?
How can we make sure main() is the last thread to finish in java program?
What is finalize method?
What are class members by default?
What are the properties of thread?
Where is stringbuffer stored?
What is synchronization and why is it important in java programming?
What is the purpose of encapsulation?
What is try-with-resources in java?
How do you change an int to a string?
What is method overloading in JAVA? Why is it not present in C ?