interface SomeName { function method1 (param1:datatype,...paramn:datatype):returnType; function method2 (param1:datatype,...paramn:datatype):returnType; ... function methodn (param1:datatype,...paramn:datatype):returnType; }
class SomeName implements SomeInterface { }
A class can legally implement more than one interface by separating interface names with commas.
class SomeName implements SomeInterface, SomeOtherInterface { }
Related Scripts with Example Source Code in same category :