why java does not support multiple inheritance
Answer Posted / neeraj kumar singh
in multiple inheritance there are a number of base class so
when ever we use super keyword to call any method then
compiler do not recognize the base class form which property
and method have to use.since there is only one way to call
base class method and property which is super keyword. so
because of super keyword, java do not support multiple
inheritance but it is possible with help of interface.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the access scope of protected access specifier?
In java, how we can disallow serialization of variables?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What is stringjoiner ?
What is the difference between compare and compareto in java?
Define class?
What is Classloader in Java?
Where are global variables stored?
Why pass by reference is not possible in java?
What is an array length?
Which is easier netbeans or eclipse?
What the difference is between execute, execute Query, execute Update?
Explain OOPs concept.
Which java collection does not allow null?
How can constructor chaining be done using this keyword?