Some java questions added