Navigation: Main Tutorial Index | Chapter Guide
This folder contains solutions for all 40 Java 8 practice exercises.
javac 01-HelloJava8Lambda.java
java HelloJava8Lambda- Hello Java 8 Lambda
- Add Integers Lambda
- Square Functional Interface
- Predicate Even Number
- Predicate String Starts With A
- Function String Uppercase
- Function Square
- Consumer Student Names
- Supplier Welcome Message
- ArrayList Method Reference
- Filter Even Numbers
- Numbers Greater Than 50
- Map Strings to Uppercase
- Sorted Ascending
- Sorted Descending
- Distinct Elements
- Limit First Five
- Skip First Three
- Reduce Sum
- Count Long Strings
- FlatMap Nested Lists
- Optional Nullable String
- DateTimeFormatter
- Grouping by First Character
- Partition Even and Odd
- Passed Students Stream
- Highest Marks Student
- Sort Employees by Salary
- Average Employee Salary
- Group Employees by Department
- Word-Frequency Counter
- Function Chaining
- Custom Functional Interface
- Interface Default Method
- Interface Static Method
- Default Method Conflict Resolution
- Period Between Dates
- Duration Between Times
- Sequential and Parallel Streams
- Student Management System