AMA University Answers
Login
Register
AMA OED
Courses
ITE
ITE-6104
What is the return value of th...
What is the return value of this method: public void sum(){int x=1;} ?
1
sum
none of the choices
void
Correct
x
Similar ITE-6104 questions
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?
What will be the value of x if we execute this: String s = "25"; int x = Integer.parseInt(s); ?