Select from following answers:- Abstract class
- Interface
- sealed class
- parent class
- All Above
In c# multiple inheritance is achieved by using interface.
Since one class can implement more than one interface like below.
cass myClass: IA, IB //multiple inheritance.
{
}
This is not possible with classes, since one class cannot have more than one parent class.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator