How multipleInheritance is possible in java?
Answer Posted / gangadhar
See gopi what namrata said is exactly correct,
in java Interfaces r given for Polymorphism not multiple
inheritance.
more over Inheritance means:the super class object is sub
object to sub class,but when u going through interfaces we
r not creating object directly. so come super class object
is sub object to sub class object.
my conclusion is java doesn't support multiple inheritance
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to instantiate static nested classes in java?
What is stack example?
What are three advantages of using functions?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
What are advantages and disadvantages of OOPs?
What is a boolean in java?
What are passing parameters?
Explain wrapper classes in java?
What is static in java?
What is java util collection?
What are local variables?
Which is better ascii or unicode?
How does list work in java?
What does n mean in java?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.