No, use interfaces instead.
c# does not support multiple inheritance ...
Initially it didnt as java uses "extends" word for inheritance but it didnt allow us to extend more then one class.So the concept of "interface" came which is like abstrct class but with strictness that methods will only be declared at that place & have ...
The process of creating new classes, called derived classes, from existing classes, called base classes. The derived classes inherit all the capabilities of the base class and also can add new features of its own. ...
Yes, In C++ we can derive a class C from B which is derived from A -- multilevel inheritance.In C++ we can derive a class D from two base classes A and B -- multiple inheritance. This may cause a problem in case A and B are derived from a single base ...
Class used for the multiple inheritance in JAVA?
A. anonymous class
B. inner class
C. abstract class
D. none
A) Using interfaces.B) Using abstract classesC) Using final classesD) None of the above
In java multiple inheritance is not allowed(but allowed in C++).In java you can have at most one direct base class. A base class can have many subclass. ...
A) Reusability of codeB) accessibility of variables of the superclass by subclasses.C) Accessibility of methods of the superclass by subclasses.D) a,b are true
A) Reusability of codeB) accessibility of variables of the superclass by subclasses.C) Accessibility of methods of the superclass by subclasses. ...
Inheritence is inclusion of behaviour and/or state in the derived class.Aggregation is an association in which one class belongs to a collection. This is part of whole relationship where a part can exist without a whole. This is also called weaker relationship.Aggregation ...
hi every bodyjava doesn't supports multiple inheritance .It supports via the interface implementationwhat actually means multiple inheritance:suppose class & sub classes use same type of function names and atlast when u call in the main method ...
Multiple Inheritance is not removed, it is implemented by means of Interfaces in Java ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 Next >>

Go Top