Kotlinlearncs.online LogoJava
Return to List

Solve: Overloaded Area

Created By: Geoffrey Challen
/ Version: 2020.9.0

Write two versions of a function called area. The first should take two Int arguments and return their product (as an Int). The second should take two Double arguments and return their product (as a Double).

Related Lessons

Stuck? You may find these lessons helpful: