結果 : area of square and rectangle program in java