why java does not support multiple inheritance
Answer Posted / rajib
class ConcreteClaNm extends SuperClass{}
or
class ConcreteClaNm extends IncompleteClass{}
hense java does not support multiple inheritance.
or
class IncompleteClass extends ConcreteClaNm{}
But
class ConcreteClaNm implements interface1,interface2....
{
}
or
class IncompleteClass implements interface1,interface2....
{}
public interface InterName extends InterName1,InterName2...
{}
We achive single inheritance and multiple inheritance like this.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the difference between actual and formal parameters?
How do we access static members in java?
What is use of arraylist in java?
How will you initialize an Applet?
What are the 4 types of research methods?
What is purpose of find feature?
What are the benefits of operations in java?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is == and === in javascript?
Is empty set an element of empty set?
What is the main purpose of serialization in java?
What is proper subset?
What is method in research paper?
What is the function of log?
What is java instanceof operator?