阅读背景:

试图将数组传递给方法,但抛出不兼容的类型错误?

来源:互联网 

I'm trying to design a program that creates an array and then populates it in one method, calculates the average in another method and then will print its contents and the average in the main method. However I get an incompatible type error when trying to pass the array to the calAverage method and do not understand why. I'm trying to design a program that creates an




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

分享到: