
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.
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.
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.
Master group by with Java streams and collectors, counting employees by city and summing salaries per group to reveal payroll by state.
Compare sequential and parallel streams in Java 8 by timing a salary-based filter on an employee list, and learn how parallel streams can boost performance.
Learn to read data from files with java 8 stream API using files.lines, print results, and use parallel streams to handle large numbers of files efficiently.
Read all bytes from a file path into a string, print the resulting content, and prepare the data for processing or sending to another method.
Learn to read csv files with java 8 by creating a csv, saving as myfile.csv, reading with Files.lines, splitting lines on comma, and collecting to a list of string arrays.
Explore the Java 8 date API with local date, printing current and specific dates, formatting, time zones via zone id, and simple date arithmetic like adding days.
Explore local time in Java 8 with LocalTime, creating times with now and of, reading hours, minutes, seconds, and nanoseconds, and using zone-aware methods for a specific time zone.
Learn to use Java date API utility methods to create local dates, check leap years, compare dates, and perform date arithmetic with plus, minus, and until period calculations.
Learn to format dates and times in Java 8 using the date time format, exploring patterns, basic ISO date, and date time formatters to print date, time, and milliseconds.
When two interfaces define the same default method, implementing both requires overriding that method and selecting which default to use, optionally calling super to access the chosen default.
Explore static methods in Java 8 interfaces and how they group related calculations without overriding. Call these methods through the interface name to preserve backward compatibility.
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.