java 8,11,13,16 practice code