Work done for Java Advanced