Tag: functionalinterface

  • How to use Lamda expressions? – Part 2 – Applying Lamda Expressions

    Let’s apply lamda expressions to a specific use case and see how it helps in building better code. Consider this use case: A manager wants to give promotion to an employee. He follows the below process for this : Check if the employee is eligible Evaluate the employee through interview Grant promotion based on the…

  • How to use Lamda expressions – Part 1- What are lamda expressions?

    Lamda expressions were introducted in Java 8. They were out of the box , Java programmers weren’t used to anything like this before. So getting adapted to it and start using it need some practise. Once you understand lamda expressions you can super charge your programming skills and become a Super Hero. Ok I am…