Java interesting tasks.