excercises when learning the book "Core Java"