結果 : how to make abstract function in java