You are given a class ?le called shape.m, which contains themethods for a value class called shape. You are also given a class?le called Rectangle.m, which is meant to be a child class ofshape. You need to ?ll in the code for the methods for Rectangle,including de?ning it to be a child of shape. Areas where you needto enter code are neatly commented out in the class ?le, as shownbelow:
%*********************************************************** %Create a private method called setSides.%***********************************************************
Why do you think that the class was named Rectangle and notrectangle?
classdef shape
% private attribute
% Stores the origin of the shape object in
% (x,y) co-ordinates.
PayPal Gateway not configured
PayPal Gateway not configured