A serial small program for java coding lesson