摘要:
与所有的 out 参数一样,在使用数组类型的 out 参数前必须先为其赋值,即必须由接受方为其赋值。例如: publicstaticvoidMyMethod(outint[]arr) { arr=newint[10];//definiteassignmentofarr } 与所有的 ref 参数一样,数组类型的 ref 参数必须由调用方... 阅读全文
posted @ 2005-03-31 16:51
linuxSeek
阅读(659)
评论(0)
推荐(0)
浙公网安备 33010602011771号