結果 : how to call a function from different class in java