HomeWork on Java