0

I am really thinking hard to understand why java has introduced new concept called Lambda Expression in its 8th version.

I mean as far as I understand it is just like a regular function which calculates an expression and returns the value. Is there anything that a lambda expression does beyond this and what exactly happens behind the screen. Please educate me!!!

Thanks in Advance.!!

Sai Chaithanya
  • 708
  • 1
  • 7
  • 14
  • 1
    http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html – Qantas 94 Heavy Oct 29 '14 at 02:54
  • 1
    *"Is there anything that a lambda expression does beyond this ..."* - Nope. *" ... what exactly happens behind the screen."* - Look at the bytecodes, using `javap`. *"Please educate me!"* - That's your job ... or your teachers. – Stephen C Oct 29 '14 at 03:00
  • 1
    The other point of course is that Java doesn't have functions, per se. It has methods. – Stephen C Oct 29 '14 at 03:04

0 Answers0