Topic: 对2维数组赋初值的困惑

  Print this page

1.对2维数组赋初值的困惑 Copy to clipboard
Posted by: chenlan5209
Posted on: 2005-04-07 22:42

各位高手,怎样用JAVA语言对一个2维数组一次性赋初值呢?给个例子好不好?
还有,在方法体中,如果我要返回一个二维数组的首地址,在方法的定义中怎样书写呢?
在线等,谢谢!!!!!!!!

2.Re:对2维数组赋初值的困惑 [Re: chenlan5209] Copy to clipboard
Posted by: ginger547
Posted on: 2005-04-08 14:39

for()
a[][]=0;

the second question.......


   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