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
Does windows 10 need java?
What is exception hierarchy in java?
What are 3 boolean operators?
Does hashset allow duplicates in java?
When throws keyword is used?
Explain restrictions for using anonymous inner classes?
What is thread life cycle?
What is the meaning of 3 dots in java?
How do you check if a string contains only numeric digits?
Why we cannot override static method?
What is a databasemetadata?
When we should use serialization?
What is the output of the below java program?
What are the skills required for core java?
What is array length?