So I just found this code example online a while ago and I\'m going over it again but quite confused.
From looking at it, what I gather (and it might be wrong) is t
Your assumption is correct, and you cannot instantiate an interface. You can instantiate an anonymous class however, which is what the code is doing.