Drawable.java
Select all
/* Drawable.java CIS 260 2005-02-09 David Klick This is a demonstration of an interface. Classes which implement this interface must either implement the draw method defined here, or declare themselves abstract. */ import java.awt.Graphics; interface Drawable { public void draw(Graphics g); }