阅读背景:

创建一个数组,并将其作为Java中的参数传递。

来源:互联网 

Is there a way to create an array of objects as part of a constructor or method? I'm really not sure how to word this, so I've included an example. I have an enum, and one of the fields is an array of numbers. Here is what I tried:Is there a way to create an array of objects as




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: