結果 : how to call method of different class in java