A cash register program in Java.