結果 : write the structure of a simple java program