Joachim Heidenreich wrote:you could try this:
Yes, to quote Sierra & Bates: "...it's instantiating an implementer of the Runnable interface (an anonymous implementation class)" (
SCJP pg 678)
The OP gave the matching example: "The following is not legal..."