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: void main(){test("11");test("1");} void test(String x){System.out.print(x + x);}
222
111111
Correct
6
None of the choices
Similar ITE-6104 questions
What is the return value of this method: int test(){return 1;} ?
Which of the following shows Overloading method?
What do you call a variable that belong to the whole class?
What will be the value of x if we execute this: String s = "25"; int x = Integer.parseInt(s); ?
Which of the following creates an instance of a class?
Which of the following show casting object?