Topic: 又来麻烦各位了

  Print this page

1.又来麻烦各位了 Copy to clipboard
Posted by: 841221
Posted on: 2009-04-23 16:01

当类中有重载构造函数时,怎么样在主方法中来实例化一个对象?

2.Re:又来麻烦各位了 [Re: 841221] Copy to clipboard
Posted by: lll360360
Posted on: 2009-04-29 14:18

初学者可以上这个网站,上面有孙鑫的视频下载,www.phome.asia

3.Re:又来麻烦各位了 [Re: 841221] Copy to clipboard
Posted by: skwujinhua
Posted on: 2009-04-30 08:09

class a
{
.................
a ()
{
.................
}
a(int i,int j)
{
......................
}
}

...........................
a aa = new a();
a bb = new a(1,2);
....................

4.Re:又来麻烦各位了 [Re: 841221] Copy to clipboard
Posted by: crystal001818
Posted on: 2009-04-30 17:11

上网查下吧···


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923