How can an anonymous inner class implement multiple interfaces in Java when passed as an argument?
An anonymous inner class can implement multiple interfaces by separating them with commas when declaring the class using the `new` keyword.
Exactly! You've correctly explained how an anonymous inner class can implement multiple interfaces.
Can you show an example where an anonymous inner class implements two interfaces and is passed to a method?