Inherited MustInherit : MustInherit « Class Module « VB.Net Tutorial






Public MustInherit Class Cls1
    Public MustOverride Function greet1() As String
End Class

Public MustInherit Class Cls2
    Inherits Cls1
    Public MustOverride Function greet2() As String
End Class

Public Class Cls3
    Inherits Cls2
    Public Overrides Function greet1() As String
    End Function
    Public Overrides Function greet2() As String
    End Function
End Class








6.39.MustInherit
6.39.1.Use MustInherit to define abstract class
6.39.2.MustInherit class
6.39.3.Inherited MustInherit
6.39.4.Polymorphic