What is the use of MustInherit keyword in VB.NET

Q

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

✍: Guest

A

If you want to create a abstract class in VB.NET its 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.

2007-10-23, 4595👍, 0💬