摘要:
if you use the {...} array form in anything but an initializer. WRONGprivate int[] foo() { int[] x = new Array[3]; x = {1,2,3}; return x; } RIGHTprivate int[] foo() { int[] x = {1,2,3}; return x; } ps:When using the initializers, an array must be declared, constructed and explicitly init... 阅读全文
posted @ 2010-06-19 16:39
0707
阅读(3458)
评论(0)
推荐(0)
浙公网安备 33010602011771号