Quiz: House Equals New Dog
- The program will declare a variable of type
Houseand store a newDogin it. - Error: incompatible types.
Dogis not a kind ofHouse - Error:
Dogis abstract, cannot be instantiated.
House and store a new Dog in it.Dog is not a kind of HouseDog is abstract, cannot be instantiated.