Challenge 2: Implement Getter Methods
This lesson covers a challenge on getter functions and how to create them.
We'll cover the following...
We'll cover the following...
Problem Statement
Implement the width()
and height()
methods which return, respectively, the width and height of a rectangle. The tests that follow will ...