3rd sem java 3 rd program