*> Accessibility keywords *>public *>private *>internal *>protected *>protected internal *>static class-id Competition. end class. *> Inheritance class-id FootballGame inherits type Competition. end class. *> Interface definition interface-id IClock. end interface. interface-id ITimer. end interface. *> Extending an interface interface-id IAlarmClock inherits type IClock. end interface. *> Interface implementation class-id WristWatch implements type IAlarmClock, type ITimer. end class.
インターフェイスのサンプルも参照してください。このサンプルは、[スタート > すべてのプログラム > Micro Focus Enterprise Developer > サンプル > Visual COBOL サンプル] の [COBOL for .NET] の下にあります。