update java basic knowledge example