Page 1 of 1

Question 1 (10 points) In this quiz you are required to code the required classes for the following UML diagram. You mus

Posted: Sat May 14, 2022 4:14 pm
by answerhappygod
Question 1 10 Points In This Quiz You Are Required To Code The Required Classes For The Following Uml Diagram You Mus 1
Question 1 10 Points In This Quiz You Are Required To Code The Required Classes For The Following Uml Diagram You Mus 1 (178.55 KiB) Viewed 44 times
python only
Question 1 (10 points) In this quiz you are required to code the required classes for the following UML diagram. You must ensure the following is implemented to get the full grade: . Inheritance is properly implemented Private instance "sides" variable with Setters and getters are implemented using decorators • The special string method for the Shape parent class should display, for example: Shape with X sides • The inherited string method should additionally display the name of the shape, for example: this is also known as Rectangle Main code that creates a single list of the three subclass shapes and prints their description strings using the classes special methods . Please submit/paste code here and also attach the program file. Shape -sides +draw() Triangle Rectangle Circle -sides sides sides +draw() draw +draw()