Programing in Java - lecture 3