java basic summary