why is multiple inheritance not allowed in java?
Answer Posted / sikinder
Whenever one Sub Class Extends more than one classes, at
the time of creating that class object, JVM gets confused
to call the parent class constructor as well as methods.
To avoid this ambuiguity, java doesn't support multiple
inheritance
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain thread in java?
Is string an object?
Why stringbuilder is not thread safe?
How do you call a reference in java?
What is the use of System class?
what is meant by encapsulation?
What is java literals?
Which access specifier can be used with class ?
how to write a program for sending mails between client and server
Explain how hashmap works?
What is ternary operator? Give an example.
Why java is called not pure object oriented language?
Why is java so important?
What is the purpose class.forname method?
What is ascii format?