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
Can we create constructor in abstract class ?
What is singletonlist in java?
What methodology can be employed to locate substrings inside a string?
What is the Scope of Static Variable?
What are pass by reference and pass by value?
Can abstract class have private constructor?
what is the major difference between linkedlist and arraylist in java?
What is the mapping mechanism used by java to identify IDL language?
What is the difference between heap and stack memory?
Is string passed by reference in java?
What are the four versions of java?
What are access specifiers available in java?
How do you use nextline in java?
What environment variables are required to be set on a machine in order to run Java programs?
What do heavy weight components mean in java programming?