Challenge: Advancing the Simple Interface
This lesson brings you a challenge to solve.
We'll cover the following
Problem statement
Continuing with the previous challenge, make a second type RSimple
which also implements the interface Simpler
. Expand the function fI
so that it can distinguish between variables of both types.
Try to solve the challenge below. Good Luck!
Get hands-on with 1400+ tech skills courses.