Assume you have created a class named Chair with a constructor defi ned as Chair(int height). Which of the following overloaded constructors could coexist with the Chair constructor without ambiguity?
a. Chair(int legs)
b. Chair(int height, int legs)
c. both of these
d. none of these
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here