Which of the following statements correctly instantiates a House object if the House class contains a single constructor with the declaration House(int bedrooms, double price)?
a. House myHouse = new House();
b. House myHouse = new House(3, 125000.00);
c. House myHouse = House(4, 200,000.00);
d. two of these
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here