Ask Question
6 October, 08:51

What is stored in alpha after the following code executes? int[] alpha = new int[5]; int j; for (j = 0; j 2) alpha[j - 1] = alpha[j] + 2; }

1. alpha = {1, 2, 3, 4, 5}

2. alpha = {4, 5, 6, 7, 9}

3. alpha = {1, 5, 6, 7, 5}

4. None of these

+2
Answers (1)
  1. 6 October, 09:17
    0
    Option A.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is stored in alpha after the following code executes? int[] alpha = new int[5]; int j; for (j = 0; j 2) alpha[j - 1] = alpha[j] + 2; } ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers