Translations:Interface type/3/en

From Resonite Wiki
Revision as of 02:55, 27 April 2025 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Interface types have a sort of one-way allowance of direct usage. Objects can only be non-interface types, meaning a non-interface type must implement the interface before an object can be instantiated with the properties of the interface. However, a function or field may request any kind of interface type directly, then rely on the shared behavior of the interface to call methods or access values on the object.