在Java中,使用另一个类的数组需先创建目标类数组对象,通过索引访问元素后调用其方法或属性,OtherClass[] arr = new OtherClass[5]; arr[0].method();
在线咨询: QQ交谈
邮件:HI@E.KD.CN