Multiple Choice
What is the output of the following code snippet?
Int[] myarray = { 10, 20, 30, 40, 50 };
System.out.print(myarray[2]) ;
System.out.print(myarray[3]) ;
A) 1050
B) 2030
C) 3040
D) 4050
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: When an integer literal is added to
Q42: Consider the following code snippet:<br>String[] data =
Q85: Which one of the following statements about
Q102: Which one of the following is the
Q103: Is there any thing wrong with the
Q105: What is the valid range of index
Q109: What will be printed by the statements
Q110: Consider the following code snippet:<br>Int cnt =
Q111: What is the result of the following
Q112: Which statements about the enhanced for loop