Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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.