How can we encapsulate this code?
base
height
getArea()
Put base, height, and getArea() in the same class.