1
1
Fork 0
AtomicKotlinCourse/Usability/Extension Functions/Exercise 3/task.md

193 B

Extension Functions (#3)

Create a Rectangle class, then implement coversZero() as an extension to Rectangle. The function returns true if the Rectangle covers the point (0, 0).