AMA University Answers
Login
Register
AMA OED
Courses
ITE
ITE-6104
What is the output of the code...
What is the output of the code snippet below: int[] intArray = { 1, 2, 3, 5, 6, 7 }; for(int x = intArray.length-1; x>=0; x--){System.out.print(intArray[x]);}
765321
Correct
12356
123567
The given code is not valid
none of the choices
Similar ITE-6104 questions
Which of the following is a valid method name:
What is the name of this method: int test(){return 1;} ?
Which of the following shows a valid Overloading method?
What is the return type of this method: int test(){return 1;} ?
What is the output of the code snippet below: void main(){test();test();} void test(){System.out.pri...
What is the return value of this method: public void sum(){int x=1;} ?