How can we encapsulate this code?
base
height
getArea()
By putting base, height, and getArea() in the same object.