practice Jave file