Functional Interface Example In Java