016-001-007
Define Shapes with Abstract Class
Easy
Problem Description
An abstract class is a class that cannot be instantiated directly and serves as a template for subclasses. It can contain both abstract methods (no implementation) that subclasses must override, and concrete methods (with implementation) that subclasses inherit.
Ready to Try Running Code?
Log in to access the code editor and execute your solutions for this problem.
Don't have an account?
Sign Up