Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JAVA 8: Zero To Hero with Lambdas & Streams
Rating: 3.7 out of 5(15 ratings)
5,899 students

JAVA 8: Zero To Hero with Lambdas & Streams

Coding Java 8 will teach you about Lambdas, Streams, new Date APIs, Optionals, and parallel programming.
Created byChandan Kumar
Last updated 2/2025
English
English [Auto],

What you'll learn

  • The entirety of the new features in Java 8 with examples
  • Interfaces with default and static methods, functional interfaces, and lambda expressions
  • Method references, function references, the Date & Time API, and streams API, among others.
  • Java 18 SimpleWebServer feature and uses
  • How to use Java Script from Java 8

Course content

8 sections • 28 lectures • 2h 26m total length
  • Filter Collection by using Stream7:55

    Learn to filter collections with java eight streams, using a predicate on integers and employees to display salaries greater than or equal to 5000.

  • Print Collection using For-Each method4:04

    Explore printing data from collections, including employee objects, using traditional for and while loops, the for-each approach, and Java 8 streams with list.forEach.

  • How to Use Like Operator in Java 85:18

    Learn to apply the like operator in Java 8 using streams and filter to match employee names by starts with, ends with, or contains patterns.

  • Collection Sorting in java 810:11

    Learn to sort a Java collection using Java 8 features with lambdas and streams, by employee id or name, and apply comparator interfaces and Collections.sort for ascending and descending order.

  • Use of Limit method3:11
  • Use of findFirst in lambda expression2:45

    Learn to extract the first matching employee from a list by streaming the array, applying a predicate filter, using findFirst, and retrieving the object with get to print its data.

  • Use of mapToDouble & Sum in Lambda expression4:10

    Learn how to use Java eight lambda expressions with streams to map salaries to double and sum them. Filter by Delhi to compute the total salary for Delhi employees.

  • Use of Count in Lamdba2:07

    Learn to count the total number of objects in a list using streams and filter predicates, such as counting employees from Delhi, with the count method returning a long.

  • Use of Min & Max in Lambda5:58

    Explore how to find the maximum and minimum salaries using Java 8 streams and lambda expressions. Compare sorting with limit versus using stream max and min with a salary comparator.

  • Use of GroupBy method8:17

    Master group by with Java streams and collectors, counting employees by city and summing salaries per group to reveal payroll by state.

Requirements

  • Basics of Java is must
  • Java 1.6

Description

Hi Everyone,

In this Java 8 course, I tried to keep only practical things and mainly focused on Lambda & Stream API along with Date.

New features and improvements in Java 8.  Understanding all the new features from eight versions is made easier by taking the Zero to Hero course. All of the new features will be thoroughly covered in this course, both in terms of theory and code. All of the key features, including:

  • Lambda Expressions,

  • Streams API is one of the important features that got introduced as part of Java8.

  • How does the Stream API Works with example

  • max()

  • min()

  • limit()

  • sort()

  • File Reading with all techniques

  • File Writing along with CSV file Reading

  • How Collections are different from Streams

  • Date & Time,

  • Default & Static methods,

  • Optional, Method References

  • This section covers how to perform Parallel processing using Streams.

  • How to check the performance between the sequential and parallel programming

  • Functional Interfaces have received special consideration and explanation. Each feature will be covered during the course discussion with a conceptual explanation first, followed by a thorough code walkthrough and execution. Since the course is set up so that omitting a known feature won't affect other parts or lectures, you are free to skip any features that you are already familiar with.

  • JavaScript Calling from Java 8

  • Java 18 feature: Embedded WebServer and how to use it.

  • Learn new features as well.



Who this course is for:

  • This course for someone who is already working on Java and wanted to learn Java 8
  • Any developer wants to switch to Java