62,623
社区成员
发帖
与我相关
我的任务
分享class test{
public int i=0;
public test(int i){
this.i=i;
}
}
public class guiTest {
private static void method(test t){
System.out.println(t.i);
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
test t=new test(10);
method(t);
}
}