結果 : runtime error vs compile time error in java