Question: Given the following code snippet, what value does currAverage equal? int [ ] studentGrades = new int [ 2 4 ] ; studentGrades [ 0

Given the following code snippet, what value does currAverage equal?
int[] studentGrades = new int[24];
studentGrades[0]=94;
studentGrades[1]=78;
studentGrades[2]=82;
studentGrades[3]=95;
int currAverage;
currAverage = studentGrades[3];
Group of answer choices
78
95
94
82

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!