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
How many unicode characters are there?
How do you end a program?
Can we synchronize static methods in java?
Which graphs are functions?
How do you invoke a method?
Explain all java features with real time examples
When will we prefer to use set and list in java and why?
What is static data type in java?
What is computer compiler?
Which sorting is used in arrays sort in java?
Why java does not support pointers?
What is boolean logic?
What is the buffer limit?
Explain the concept of hashtables?
Can a class extend more than one class?