Question: Consider the following java classes ( GreenBuilding and GGCbuilding): public class GreenBuilding implements EnergyEfficiency, ValuableAsset public class GGCbuilding extends GreenBuilding Is the following statement correct
Consider the following java classes ( GreenBuilding and GGCbuilding): public class GreenBuilding implements EnergyEfficiency, ValuableAsset public class GGCbuilding extends GreenBuilding Is the following statement correct in java? GreenBuilding wBuilding = new ValuableAsset();
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
