This course will introduce you to the powerful concept of functional interfaces in Java. You'll learn how to use these interfaces effectively, leveraging lambda expressions to create clean and efficient code.
Overview
Syllabus
- Lesson 1: Introduction to Functional Interfaces
- Functional Interfaces in Action
- Switching to BiFunction
- Fixing Function Chain
- Complete Salary Calculator
- Student Grade Calculator using Functions
- Lesson 2: Consumers and Suppliers
- Consumer and Supplier in Action
- Update Supplier to Return UUID
- Fix the Consumer Chain
- Message Repeater with BiConsumer
- Uppercase Strings with Consumer and Supplier
- Lesson 3: Working with Predicates
- Understanding Predicates in Java
- Change Predicate Condition
- Fix Predicate Combination Logic
- Filter Negative Numbers using Predicate
- Validate Complex Passwords Using Predicates
- Lesson 4: Higher-Order Functions
- Understanding Higher-Order Functions
- Fix Higher-Order Functions
- Applying Conditional Logic with Higher-Order Functions
- Chaining Higher-Order Functions
- Compose Functions Using Higher-Order Functions