Class, how can i use them - practicaly?

You need to instantiate the class rather than simply passing the class itself. i.e. OUT should be MyClass() rather than MyClass. Both of the following are valid (although the first is a better approach):


2 Likes