up previous next contents
Next: Marker Interfaces Up: Interfaces Previous: Implementing Interfaces   Contents

Using an Implementation

  • Use an implementing class just by extending it.
  • Can also use a technique called forwarding - create an object of an implementing class and forward all the methods of the interface to that object.


up previous next contents
Next: Marker Interfaces Up: Interfaces Previous: Implementing Interfaces   Contents