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
What is class forname?
What are the two ways to create a thread?
What is string args [] in java?
Can java object be locked down for exclusive use by a given thread?
What is byte data type?
What is primitive data type in java?
explain what is transient variable in java?
What is string made of?
please send me hr interview questions in it industry
Can we have multiple classes in a single file?
Is assembly language a low level language?
What is token in java?
What is an empty string in css?
What restrictions are placed on method overloading in java programming?
Does constructor be static?