all the lab codes of java