أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Lambda Expressions are a simple way to express instances of single-method anonymous classes more compactly.
Take a look on these examples
What about Functional Interfaces
If you have used Runnable, Callable and other such Single Abstract Method interfaces, Java8 gives you ability to create such interfaces using @FunctionalInterface annotation and you can use Lambda Expressions to instantiate them.
You can read more on Functional Interfaces here