public class CuckooClock extends Clock
CuckooClock is a Clock that cuckoos when the
minute is zero. The primary purpose of this class is to demonstrate how an
extended class is implemented.
Java Source Code for this class:
http://www.cs.colorado.edu/~main/edu/colorado/simulations/CuckooClock.java
Clock| Constructor and Description |
|---|
CuckooClock() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCuckooing()
Check whether this
CuckooClock is currently cuckooing. |