Class Definition Java Tutorial

public class CanonDriver  implements Printable {
         public void print (Object obj) {
             // code that does the printing
         }
}
An implementation class has to override all methods in the interface.
A class can implement multiple interfaces.