CJCoding With Joseph

Shape Base Constructor

The base class Shape has a constructor that stores a name. Add a constructor to Circle that passes the text circle to the base constructor using : base(...). Do NOT write a Main method.

When the tester creates a Circle and calls Describe(), the program prints:
This is a circle

Expected Output:

This is a circle
Topics:
Inheritance
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.