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 java object name?
What is java console application?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
Realized?
What are the advantages of autoboxing?
How many types of keywords are there?
what is comparable and comparator interface?
What is anagram word?
Can you have two constructors in java?
What is a method vs function?
Is a copy constructor?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
How do you check if two strings are equal in java?
Can Exception handling we can handle multiple catch blocks?
Is integer a class?