Core-Java HomeWork