I have a method in my MainClass
that returns an integer value.
I send this method to another Class, which tries to invoke this method. Like this:
newVal = (Integer) calcM.invoke(receiver, start+i);
But I don't know what to put as receiver
? this
doesn't work.