What Function Will Be Called With The Independent Syntax Test567 #1192
What function will be called with the independent syntax “test(5,6,7);”?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Default Arguments vs Overloading, Upcasting and Downcasting - OOPs MCQ: Default Arguments - Quiz No.1.
What function will be called with the independent syntax “test(5,6,7);”?
void test(int x, int y)
void test(int x=0, int y, int z)
int test(int x=0, y=0, z=0)
void test(int x, int y, int z=0)