Early Java lessons in action