The Java Platform Java Runtime Environment Data Types Control Statemets Methods Arrays Classes and Objects Inheritance Constructor Interface![]() Interface![]() Interface Example![]() Interfaces and coupling![]() The Java XML package![]() The Java IO Serializable interface![]() Using Interface Packages & Access Modifiers Java Collections Framework | Interfaces and couplingCoupling refers to the level of interdependency between objects. In reference to inheritance, a subclass is tightly couple with its superclass. Should the design of a superclass change, it will most likely affect its subclasses. With interfaces, coupling can be reduced, The only responsibility an object has is to implement the methods defined by the interface. |