Lambda Expression in Java

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Tip->Lambda exp only works on Functional interfaces(i.e interfaces having only one abstract method in their code block)

VedantSawale-pgul
Автор

As a cherry on top - that substitution of an anonymous class with lambda expression you demonstrated works for functional interfaces only.

artem
Автор

JS developers: we had such syntax in callbacks ages ago

surajacharya
Автор

hello sir ...I explain the concept of X-shape pattern in numbers python

theveeru
Автор

Code and especially the lambda snippet is covered by the support/super like button

jogurtwaniliowy
Автор

how did you create a object of a interface? please explain

khushivantmurimath
Автор

Shorts are so good to remember in shorts.. thank you

deepikaah
Автор

Last lines of the code are not visible sir. They are covered by channel name.

Manu-bxmy
Автор

Hi why the interface is not implemented?

mhmoochy
Автор

It only works for functional interfaces

akankshasharma
Автор

But shifting program implementation from imperative style to functional style is not straight forward at all

Sometimes, additional design is required on top of the design that was done to solve a problem

madhukiranattivilli
Автор

Tips to write shorter programs in Java: switch to any other language

piyushgupta
Автор

😂java bring lamda and now saying that we are focusing on coding logic not syntax. Then what about javascript and python, in comparison wth those cases.

kqlwqov
Автор

Not worthy content, what is the purpose of lambda in java since chatgpt came

nobelsandilian