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 anonymous class in java?
How many functional interfaces does java 8 have?
What is assembly condition codes?
Is hashset sorted in java?
Can a class have multiple constructors?
What is the use of default method in interface in java?
How do you include a string in java?
explain the concept of virtual method invocation in polymorphism in detail?
What are three advantages of using functions?
What is natural ordering in java?
How many types of design patterns are there?
Is namespace same as package in java?
How to use string tokenizer class.
What is the advantage of preparedstatement over statement?
Explain listiterator and methods in listiterator?