write a program that will take numbers from a file called Numbers.txt and then add them up, and give out their average还有两题。。name 2 ways of initiating an integer array called x. what is the purpose of methods in Java? 
我英文不好- -`不会说
要用英文回答的。。

解决方案 »

  1.   

    write a program that will take numbers from a file called Numbers.txt and then add them up, and give out their average写一个项目,从一个名叫Numbers.txt的文件中读出数据并将数相加.然后求出它们的平均值.
    name 2 ways of initiating an integer array called x. 命名两个名字叫做x的integer的数组what is the purpose of methods in Java? 在java中方法的目的是什么
      

  2.   

    name 2 ways of initiating an integer array called x. 用两种方法给叫做x的integer的数组初期化
      

  3.   

    1.在文件Numbers.txt中存有数字,取之,相加求和,并输出其平均数。2.Two ways are listed respectively below
    i. int[] x;
    ii. int x[]; 3. Purpose is to set a pile of codes which is used to fulfil a unique function together inside a module called method. It makes the program more readable, more adjustable and easier to be amended. It appears as one of the encapsulation of the oo system.