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 the destroy method?
How to create an immutable class?
What is the difference between static and non-static variables in java programming?
what is encapsulation in java? Explain
How do you remove all elements from an arraylist in java?
What is Session reduplication and how its done?
Is arraylist ordered in java?
What is meant by distributed application? Why are we using that in our application?
What are different types of classloaders?
When a byte datatype is used?
What is the same as procedures?
What is the purpose of garbage collection in java, and when is it used?
What is assembly language?
Can this keyword be used to refer static members?
How many bits is a word?