bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more

Lambdas in Java - From Zero to Hero

Master Java 8 Lambda Expressions and the Stream API

4.47 / 5.0
552 students18 hours 15 minutes

Created by Ajay Iyengar, offered on Udemy

bestcourses score™

Student feedback

4.9/10

To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 552 students which left 73 reviews at an average rating of 4.47, which is average.

Course length

8.8/10

We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 18 hours 15 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 5 hours 59 minutes.

Overall score

5.3/10

This course currently has a bestcourses score of 5.3/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.

Description

Join the most comprehensive course that covers Lambdas and Streams introduced in Java 8.

There are lots of exercises (along with the solution) at the end of a section that will help you gain confidence.

Using numerous real-life examples, you will learn:

  • What the Strategy pattern is

  • What kinds of problems do Anonymous classes solve?

  • Why do we need Lambda expressions?

  • How can Lambda expressions help us in writing concise code?

  • What are higher-order functions?

  • Deep dive into how Lambda expressions are implemented behind the scenes and -

    1. Understand how to look at byte code using javap

    2. Understand the role of the invokedynamic byte code instruction

    3. What are Method Handles

  • Commonly used functional interfaces like Predicate, Function, Supplier, Consumer, BiConsumer  -

    1. How and where to apply them?

    2. How are they used internally in the JDK library?

  • Function composition

  • Method references

  • Explore the Comparator interface

  • Numerous methods in the Stream API like - filter, map, collect, sorted, distinct

  • Understanding what a stream is

  • Understanding the important characteristics of a stream

  • Optional API and the right way to use them

  • Short-circuiting operations in the Stream pipeline

  • Understand why we need Primitive Streams

  • Reduction operations in the Stream pipeline and the importance of identity in Reduction

  • Explore the Collectors API

  • Explore flatMap and other sources of creating Streams

  • Explore Parallel Streams -

    1. What is Moore's law?

    2. Why do we need Parallel streams?

    3. When should we use Parallel streams?

    4. What is the infrastructure behind the scenes when we use Parallel streams?

    5. How does Reduction work in parallel streams?

    6. Role of the Spliterator

  • Learn how to debug and visualize Java 8 Streams with Eclipse & Intellij

and more!

Students completing the course will have a solid, in-depth knowledge of writing concise code using many features that have truly revolutionized how we write code in Java.

What if you have questions?

I offer full support, 7 days a week, answering any questions you have.


What version of Java should you use?

I am using Java 14 for all the demos since that is the latest version when recording this course. I would urge you to use the latest version of Java. However, the focus will be on Lambdas, Streams, and lots of other features introduced in Java 8 as mentioned above.

What you will learn

  • Starting from the basics, gain in-depth knowledge about Lambdas and Streams using lots of examples
  • Explore a variety of functional interfaces
  • Understand how Lambda expressions are implemented in the JDK by looking at the byte code
  • Complete understanding of Method references, Optional API, Comparator
  • Explore numerous methods in the Stream API and the Collectors class
  • Understand Reduction, flatMap, Parallel Streams, and when to use them
  • Learn "good" coding practices as we discover these topics by a professional Java developer who has been working with the language for 14 years
  • With plenty of exercises to solve, confidently demonstrate your understanding of Lambdas and Streams to future employers

Requirements

  • Some (intermediate level) programming experience with Java
  • A computer with the latest JDK and an IDE
  • You need not have any experience with Lambdas and Streams since we start from the basics
  • Desire to learn while still enjoying a few jokes!
Udemy logo
Available on

Udemy

With almost 200,000 courses and close to 50 million students, Udemy is one of the most visited online learning platforms. Popular topics include software development, the digital economy, but also more traditional topics like cooking and music.

Frequently asked questions

  • Price: $19.99
  • Platform: Udemy
  • Language: English
  • 18 hours 15 minutes
Lambdas in Java - From Zero to Hero thumbnail

bestcourses score: 5.3/10

There might be better courses available for this topic.