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
Does garbage collection occur in permanent generation space in jvm?
What is the point of polymorphism java?
What is hashmap in java?
What is thread pool in java with example?
Who developed java?
How many types of operators are there?
What is the importance of hashcode() and equals() methods?
What are the advantages of inner classes?
Can a final variable be initialized in constructor?
What are the basic interfaces of java collections framework?
what are Hostile Applets?
What is the best way to findout the time/memory consuming process?
How does a for loop work?
How do you do math powers in java?
What are the advantages of unicode?