Java does not support multiple inheritance.
how interface helps in the same?
Answer Posted / sachin ghare
It might be possible. Inherited both classes contain same method. And java by defualt polymorpic so at the time of compilation it will generate error.that's why. Interface contain astract methods so it Will manage stuff
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the synonym of framework?
What is a java lambda expression?
What is Major and importance difference between for and foreach loop ?
What are the important features of Java 11 release?
What are the different ways of implementing thread? Which one is more advantageous?
Can you declare an interface method static?
How are this() and super() used with constructors in java programming?
Explain the difference between the public, private, final, protected, and default modifiers?
What are the limitations of procedural programming approach?
What is meant by class?
What are the legal operands of the instanceof operator?
What is difference between float and double?
What is mysql driver class name?
How to find the index of the largest number in an arraylist java?
What's the default access specifier for variables and methods of a class?