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
What is :: operator in java 8?
What is exception in java?
What are aggregate functions explain with examples?
What are the advantages of java?
When should I use a singleton?
What is the relationship difference the canvas class and the graphics class?
What does compareto () do in java?
What is return in java?
How do you define a variable?
What will be the output of round(3.7) and ceil(3.7)?
How do you calculate square roots?
Do we have pointers in java?
What is math in java?
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
What is a classloader in java?