I started on a new project recently and saw the usage of overriding like below for the first time.
public class SomeClass { public void myMethod() { XS
That's an Anonymous Inner Class.