Respuesta :
The true statements are:
- 3. The output is 3
- 4. At the end of the completion of the loop, {"you", "to", "Birthday", "Happy"} is saved in words
- 5. After the for loop, all the elements of nums become 0
- 6. The output on line 7 is 10
Program 3
The flow of the program is that:
- The program changes the index 1 element of the integer array myArray to 3
- This element is then printed, afterwards
Hence, the output is 3
Program 4
The flow of the program is that:
- The elements of the string array words are reversed
- These elements are then printed, afterwards
Hence, at the end of the completion of the loop, {"you", "to", "Birthday", "Happy"} is saved in words
Program 5
The flow of the program is that:
- The elements of the integer array nums are reduced or increased to 0
- These elements are then printed, afterwards
Hence, after the for loop, all the elements of nums become 0
Program 6
The flow of the program is that:
- Lines 1 and 2 declare integer arrays A and B
- Line 3 sets B[9] to 30
- Line 6 sets B[9] to 10
- Line 4 changes the length of array A to 10, and the same elements are saved in A and B
Hence, the output on line 7 is 10
Read more about arrays at:
https://brainly.com/question/15683939