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


Please Help Members By Posting Answers For Below Questions

Can you explain inner class.

596


How do you write a conditional statement?

521


What are accessor methods in java?

557


What is difference between length and length() method in java ?

562


In Java list the methods that can be overridden?

575






What is lambda expression in java?

543


What is mean by collections in java?

564


What are implicit objects in java?

553


What is a method type?

537


What is starvation?

684


What is an immutable class? How to create an immutable class?

540


What is "this" keyword in java? Explain

662


Which software is used for java programming?

559


Can you override private or static method in java?

554


What is use of map in java?

517