Simple Programming Example in Java that introduces some advanced concepts.