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
Is java type safe?
What do you mean by multithreaded program?
What are some alternatives to inheritance?
What is java util function?
What is the super void?
What is the difference between member variables initialization and assignment in a constructor?
What is the purpose of garbage collection in java?
describe method overloading
What is a treemap in java?
What is meant by distributed application? Why are we using that in our application?
What is size () in java?
Explain where variables are created in memory?
What do you understand by an io stream?
Is double bigger than float?
What is floor in java?