Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Java Lambdas!
You have completed Java Lambdas!
Preview
In this video we will review Single Abstract Methods or SAMs and how things were done prior to Java 8.
Read More
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In this workshop, we’ll take a look at
a relatively new language construct for
0:00
Java, lambdas.
0:03
Now in general,
lambdas are not a new concept and
0:04
they’re available in many
other programming languages.
0:06
You may have heard them referred
to as anonymous functions.
0:09
They provide the building blocks to
a more declarative style of coding
0:13
known as functional programming.
0:16
Java 8,
which was released in March of 2014,
0:18
introduced several new
changes to the Java syntax.
0:21
The introduction of lambdas on the surface
is basically just syntactic sugar or
0:24
a better way to say,
the same thing in code.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up