![]() |
#2
Dsky2016-06-16 10:39
|
public class Test{
public Test(){} //构造函数
public Test(int i)(){} //构造函数
public void test(){}//成员方法
public int test2(){}//成员方法!
}
public static void main(string [] args){
Test t1 = new Test();//调用构造方法
Test t2 = new Test(5);//调用构造方法
********************;//调用成员方法(这个怎么调。。。)
}