Given the block of code below, answer the following question: ```java class Shape { // constructor not shown public void draw() { System.out.println("Drawing a shape"); } } class Circle extends Shape { // constructor not shown @Override public void draw() { System.out.println("Drawing a circle"); } } ``` Question: Consider the code above. If we create an object of the Circle class and call the `draw()` method on that object, what will be the output?




© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.