H
HAM
One of my friends asked if the followings have any meanings?
'-------------
Public Interface IRenderable
Sub Render()
MustInherit Class Engine
MustOverride Sub TurnOn()
Interface IAutomatic
Sub Start()
End Interface
End Class
End Interface
Public Class RenderMan
Inherits IRenderable.Engine
Implements IRenderable, IRenderable.Engine.IAutomatic
Public Sub Render() Implements IRenderable.Render
'Code for implementation
End Sub
Public Sub Start() Implements IRenderable.Engine.IAutomatic.Start
'Code for implementation
End Sub
Public Overrides Sub TurnOn()
'Code for implementation
End Sub
End Class
'-------------
Does this all comply with the specification of OOP? Just curious...
'-------------
Public Interface IRenderable
Sub Render()
MustInherit Class Engine
MustOverride Sub TurnOn()
Interface IAutomatic
Sub Start()
End Interface
End Class
End Interface
Public Class RenderMan
Inherits IRenderable.Engine
Implements IRenderable, IRenderable.Engine.IAutomatic
Public Sub Render() Implements IRenderable.Render
'Code for implementation
End Sub
Public Sub Start() Implements IRenderable.Engine.IAutomatic.Start
'Code for implementation
End Sub
Public Overrides Sub TurnOn()
'Code for implementation
End Sub
End Class
'-------------
Does this all comply with the specification of OOP? Just curious...