結果 : runtime vs compile time error in java