Java 8 Lambda Basics 10 - Type Inference

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

Learn how the Java compiler and runtime infers type information about a lambda expression based on the type it is assigned to.
Рекомендации по теме
Комментарии
Автор

Teaching is very noble profession that shapes the character, caliber and future of an individual. If the people remember me as good teacher, that will be the biggest honour for me.
by APJ Abdul Kalam.

you deserve it koushik. your tutorial is very helpful to me and easy to understand. Thanks bro. 🙌🙌🙌

tulsi
Автор

"If I remove any more code there is not gonna be any more code left"
Chuckled there. :D

kookoon
Автор

I've been struggling with some of the Lambda ideas while studying for the OCP but your videos are very helpful and detailed that it makes sense now.

matts
Автор

I do agree that it's possible for the compiler to find out about what the return type is from the Lambda Expression. But it looks like it's mostly tied to the interface.
For instance:

For this lambda function, the return type could be int, since the return type of length() is int.
StringLengthLambda stringLengthLambda = s -> s.length();

But, if we create an interface in this way:

interface StringLengthLambda{
double getLength(String s);
}

We'd get the output as a double instead of an int. (5.0 rather than 5)
So, I guess the return type is linked to the interface strongly.

awesome_ashu
Автор

You explain things in the best way, in the right order... the order someone builds a foundation of understanding. Nice!

christophercoydev
Автор

have watched few other videos about lambda tutorial. This is one of the best, talks about topic details all time.

coolmoon
Автор

Hi Koushik, Really interesting to see how well you have explained. I thought Lambda is a bigger and complex topic. Your explanation made it simpler and crystal clear. I will look in youtube for other tutorial posted by you.

nateshdr
Автор

Thanks Bro!!. Simply Amazing. Appreciate that you do this high quality work for free. Hats off and God Bless.

kirankumarsukumar
Автор

You are doing excellent. I was searching to understand lambda expression in easy way. And you make us possible. Thank you so much.

SagarKumar-slfs
Автор

the best tutorial on lambda expression :) thanks a lot :)

MoshiurRahman-ctwm
Автор

with your tutorials is very simple to learn lambda expression! thank you!

domenicodepadova
Автор

In the world of paid courses, you're the savior.

shubhamchouksey
Автор

Hands down, the best tutorial on Lambdas!!

raginiyampalli
Автор

That was simply amazing and too short. It seems lots of things are happening behind the scene. That's Java 8 baby.

rohitsharma-xtqe
Автор

Finally a tutorial that i can understand about lambda expressions!

anamatamoros
Автор

Excellent way of teaching by examples...Keep up the good work!!!

gagan
Автор

Your tutorials are awesome, I really enjoyed while watching and learning concepts

rameshanantavarapu
Автор

Yes! Great tutorial and understands a new way to learn JAVA lambda expression.

rumeeone
Автор

Amazing teaching style sir ...it shows your hardwork of preparation ....

pravinubhare
Автор

All yours video are excellent
Webservices, advance Java
Good job

dipikajuneja
visit shbcf.ru