Home »

What is the use of “MustInherit” keyword in VB.NET ?

Question ListCategory: VB.NETWhat is the use of “MustInherit” keyword in VB.NET ?
denielshakespeare5 author asked 9 years ago
1 Answers
jamessmith05 author answered 8 years ago

If you want to create a abstract class in VB.NET it’s done by using “MustInherit” keyword.You can not create an object of a class which is marked as “MustInherit”. When you define “MustInherit” keyword for class you can only use the class by inheriting. Note :- There was huge typo in my previous versions for the above two questions. I hope some one has not lost good oppurtunity because of the same. Thanks to all my readers for pointing it out.

Please login or Register to Submit Answer