'I can't pass the argument while using higher order function

Here you can see that I can't pass that string parameter

I somehow learned how to pass a method in the same class but, when I want to call it from another class, I can't pass the arguments.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source