My Java Quiz

The ultimate place to learn Java!

Question #68: What is the value of salaries[3] after this code runs?

int salaries[];
int index = 0;
salaries = new int[4];
while (index < 4)
{
    salaries[index] = 10000;
    index++;
}