一応ためしました public class Method_test { public Method_test(){} public void testmethod(int a,int[] b,Integer i) { a = 10; b[b.length-1]=10; i = new Integer(10); }
} public class MainClass {
public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Method_test mobj = new Method_test();
int a = 1; int[] b = new int[]{1,2,3}; Integer c = new Integer(1);