I was reading in our Just
Java book (around page 211) about Interfaces. Included in that discussion was a mention about "Callbacks". Unfortunately, they use the
word "callback" in the definition.
I don't get it.
What's called back? Back from what?
The example shows a method that takes a runnable. Then there is an object that implements runnable. Finally there is an instantiation of the object. The method gets called passing the object to it.
I understand that the run method is indirectly called when you run the method.
Why is that a call back?
Thanks for any clues on this.
Pres