How to Design Classes Languages

1`` | Professor J Beginner
2`` | Professor J Intermediate
3`` | Professor J Intermediate + Access
4`` | Professor J Advanced
| Index

Version: 4.0.2
contents index
← prev up next →

#### 1.3`` interface

interface Id {Signature ...}

Creates an interface named Id that specifies a set of method signatures for classes to implement.

Type Id (Type Id ,...) ;

The signature specifies a method named Id, expecting the listed arguments. All classes implementing the (scheme interface) must contain a method with the same name, return type, and argument types.

contents index
← prev up next →