https://www.study24x7.com/post/122085/can-an-anonymous-class-be-declared-as-implementing-an-i-1