Lambda expression learning summary

Lambda expression learning summary

  1. Lambda actually corresponds to various defined function interfaces, and lambda expressions cannot be written arbitrarily.
  2. lambda cannot change local variable value in context
  3. lambda expressions do not have their own this scope

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326322127&siteId=291194637