News

Use Java's extends keyword to derive a child class from a parent class, invoke parent class constructors and methods, override methods, and more.
Override the fill() method header in the same manner as overriding the draw() method header. Listing 9 presents an equivalent Fill application that demonstrates the Fill interface.