Domanda di colloquio di IBM

what is the difference between inner class vs lambda?