Limited access

Upgrade to access all content for this subject

Consider the following code segment.

 int[] score = new int[5];
 score[0] = 95;
 score[1] = 80;
 score[2] = 89;
 score[3] = 93;
 score[4] = 87;

 int[] grade = score;
 grade[2] = 60;
 System.out.println(score[2]);

What is printed as a result of executing the code segment?

A

89

B

60

C

80

D

95

E

93

Select an assignment template