AMA University Answers
Login
Register
AMA OED
Courses
ITE
ITE-6104
Which of the following shows a...
Which of the following shows a valid Overloading method?
none of the choices
void test(int x){} void test(int y){}
All of the choices
void test(char x, int y){} void test(int x, char y){}
Correct
void test(){} void test(){}
Feedbacks
AloneMite
-
2 years ago
Downvoted this question
CleanBadger
-
2 years ago
Downvoted: its wrong
Similar ITE-6104 questions
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;} ?
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;} ?