Sunday, 15 March 2009

Is multiple inheritance possible in .NET

Question :Is multiple inheritance possible in .NET?
Answer:No. Multiple inheritance is not possible in .NET. This means it is not possible for one class to inherit from multiple classes. However, a class may implement multiple interfaces. We may also declare objects of different classes in a class. This way, the encapsulated class may be instantiated in other classes.

No comments:

Post a Comment