0
/ 50
The Rectangle
class below has two integer fields to store its length
and width
. The toString()
method should do the following:
- If the...
The Rectangle
class below has two integer fields
to store its length
and width
.
The toString()
method should do the following:
However, something in the toString()
method is not working
correctly. Fix the toString
method.
Your feedback will appear here when you check your answer.