結果 : why are functions called methods in java