This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
My understanding is that an anonymous class can either extend a class or implement a interface . Anonymous class can extend a class which implements a interface , in that case anonymous class has to implement interface method in its body.