Oop
Which constructor definition will produce a compile time error?a) className(int x=0);b) className(char c);c) className(int x=0,char c);d) className(char c,int x=0);
Which is the correct syntax for using default arguments with the constructor?a) default constructorName(default int x=0)b) constructorName(default int x=0)c) constructorName(int x=0)d) constructorName()
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here