You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new keyword implements to explicitly say which interfaces a class conforms too.
A class can explicitly implement multiple interfaces
If a class uses the implements keyword, then validation is performed on the class to ensure that the set of its public members are compatible with all the interfaces referenced by the keyword.
Example:
interfaceFlierfunctiontakeOff(altitude as float) asbooleanend interfaceinterfaceQuackersubquack()
end interfaceclassDuckimplementsFlier, Quacker' validation error - quack() is not includedfunctiontakeOff(altitudeasfloat) asbooleanreturnfalse end functionend class
The text was updated successfully, but these errors were encountered:
implements
to explicitly say which interfaces a class conforms too.implements
keyword, then validation is performed on the class to ensure that the set of its public members are compatible with all the interfaces referenced by the keyword.Example:
The text was updated successfully, but these errors were encountered: