The Square class not inherits from the Rectangle class.