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 jar?
What is a local class in java?
How many types of voids are there?
What is considered an anti pattern?
Wha is the output from system.out.println(“hello”+null); ?
How do you create a sop?
What are packages in java?
Why do we need array in java?
How can you make a class serializable in java?
How do you square a number?
Why are there no global variables in java?
What is string manipulation?
What is garbage collection? What is the process that is responsible for doing that in java?
Why string is not thread safe?
please send me hr interview questions in it industry