2 ms·
Well... you can define an interface, and have a class that implements the interface, and pass an instance of that class as a variable. That's not quite "passin
by AnimalMuppet 3y ago
Well... you can define an interface, and have a class that implements the interface, and pass an instance of that class as a variable. That's not quite "passing a function as a variable", but it's kind of close if you squint.
- ivan_gammel 3y agoWrong answer since March 2014.