Which Constructor Definition Will Produce A Compile Time Error #117
Which constructor definition will produce a compile time error?
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 Constructors and Destructors - OOPs MCQ: Constructors - Quiz No.2.
Which constructor definition will produce a compile time error?
className(int x=0);
className(char c);
className(int x=0,char c);
className(char c,int x=0);