結果 : how to pass array as parameter to method in java