Answer:
Following are the code in the Java Programming Language.
//print first element of the array
System.out.println(runTimes[0]);
//Print second element of the array
System.out.println(runTimes[1]);
//print third element of the array
System.out.println(runTimes[2]);
Explanation:
<u>Following are the description of the Program</u>:
In the above program, There is the integer type array variable that is 'runTimes' and its index value is 5. Then, initialize values in the array one by one which means firstly, they insert in index 0, then in index 1, and so on. Finally, we have to print the first three elements of the array. So, we set the System.out.println() function three times to print array by passing array name and first three index value with it.