Multiple Choice
What is the output of the given code snippet?
Int[] mynum = new int[5];
For (int i = 1; i < 5; i++)
{
Mynum[i] = i + 1;
System.out.print(mynum[i]) ;
}
A) 2345
B) 1234
C) 1345
D) 1111
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Suppose you wish to write a method
Q5: Consider the following code snippet: public static
Q6: What is the output of the following
Q7: The enhanced for loop<br>A) is convenient for
Q8: Consider the telephone book as a physical
Q9: Which one of the following is a
Q10: Which one of the following statements is
Q11: The integer array numbers will be filled
Q39: Identify the correct statement for defining an
Q60: The following statement gets an element from