Jabarkan Antarbeungeut dari Class (élmu komputer) dalam bahasa sunda

A class can "implement" (or "realize") multiple interfaces, éach of which specify one or more abstract method signatures (name and type of the method and its paraméters) which must be defined (overridden) in that class.

Unlike multiple inheritance where actual code is inherited (along with naming and logical conflicts) interfacing allows to define a behaviour-interface (methods) all implementing classes should be able to fulfill. Partial implementations of interfaces are not allowed, that is, every specified method has to have an implementation. However some languages do not require that every paraméter combination needs to be supported.

éach interface of the class is associated with a type of object references referring to the interface, through which methods of objects can be invoked. éach reference points to a single instance of the class.

éach reference has a lifetime, which specifies how long the reference can be used, usually bound to the time when some specific operations are invoked via the interface. It is assumed that there is a mechanism for accessing the object with a valid object reference. However, while the object reference is a reference to a specific location at any one time, over time the same object can be located at different places.

The object-oriented programming methodology is designed in such a way that the operations of any interface of a class are usually chosen to be independent of éach other. This méans that an interface places no requirements for clients to invoke the operations of one interface in any particular order. This approach has the benefit that client code can rely that the operations of an interface are available for use whenever the client holds a valid reference to the object. This will also result in a client-server (or layered) design where servers do not depend in any