Question: RUN CODE TEST CASES ASSIGNMENT DOCS GRADE This activity is due on January 31, 2021 5 points Status: Not Submitted Complete the getAverage() method in

 RUN CODE TEST CASES ASSIGNMENT DOCS GRADE This activity is due
on January 31, 2021 5 points Status: Not Submitted Complete the getAverage()
method in the ArrayAverage class using a for-each loop. Create an ArrayAverage

RUN CODE TEST CASES ASSIGNMENT DOCS GRADE This activity is due on January 31, 2021 5 points Status: Not Submitted Complete the getAverage() method in the ArrayAverage class using a for-each loop. Create an ArrayAverage object and print the result. Your output should be: The average of the array is 36.5 ENG 9:12 PM Status: Not Submitted 6.3.9: Array Average FILES 1 public class Array Average 2-{ 3 private int[] values; 4 5 public Array Average (int[] theValues) 6 { 7 values theValues; 8 } 9 10 public double getAverage() 11 { 12 13 } 14 } 15 WN0aWN D ArrayAverage.jaya DArrayAveragefester.java Save Status: Not Submitted 6.3.9: Array Average lii FILES 1 public class ArrayAverageTester 2-{ 3 4 public static void main(String[] args) 5 { 6 int[] numArray = {12, 17, 65, 7, 30, 88}; 7 8 // Create an ArrayAverage object and print the result 9 } 10} 11 L ArrayAverage.java Array Average Testerjava

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!