Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of lambdas and functional interfaces in Java through this comprehensive 1 hour 50 minute tutorial. Learn how to write lambdas from anonymous class instances and discover new Collection API methods that leverage lambdas and default methods for improved performance. Examine real-world examples from the JDK to understand how functional interfaces create new APIs. Implement well-known patterns using lambdas for cleaner, more robust code. Cover topics such as Comparators, passing code as parameters, the Iterable interface, method references, and functional interfaces like Consumer and Runnable. Gain practical insights through demonstrations, quizzes, and hands-on examples to enhance your Java programming skills and optimize your code using lambda expressions.
Syllabus
Intro
Overview
Who am I
Apology
Questions
Easy Quiz
Comparator
Passing code as a parameter
Writing a lambda
Functional interfaces
Demo time
Iterable interface
Abstract method
Iterable
Execution
Runnable
Random
Compiler Error
Writing Lambdas
Method Reference
Default Method
Abstract Methods
Consumer Interface
Fail Fast Fail
Default Methods
Functional Interface
Comparators
Then Compare
Compare
Taught by
Java