Question: Question 16 (1 point) Given the pseudocode below: Class Material Private String_ty Public Module Mate rial(String type) type-ty End Module Public Module disp lay ()


Question 16 (1 point) Given the pseudocode below: Class Material Private String_ty Public Module Mate rial(String type) type-ty End Module Public Module disp lay () Display_t ype End Module End Class Class Furniture Private Material material Private String_ty Public Module set material (Material material) Set mater ial = material End Module lay () ype rial.display() Public Module disp Display_t Callmate End Module End Class Class Chair Extends Furnit ure Public Module Chai Set _type "chair" End Module End Class Module main() Declare Furniture furnitureNew Chair() Call furniture.set material (New Material( "Wood")) Call furniture.dis play) End Module What will be the output when the main module is called? Separate each output with a single space
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
