Task 4 of 9 · 0 solved · 9 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

4.3 Instance methods — area method

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in area so that it returns the rectangle's area. Use the fields directly.

The program prints 12.

Your solution