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();test();} void test(){System.out.print("1");}
2
11
Correct
3
1
None of the choices
Similar ITE-6104 questions
What is the return value of this method: public void sum(){int x=1;} ?
What is the output of the code snippet below:void main(){test(1.0);test(1);}void test(double x){Syst...
What is the output of the code snippet below: void main(){test("11");test("1");} ...
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?