Skip to content
KnowledgeCity

Advanced Java: Functional Programming

Discover the new and functional programming support added to the Java language, using lambda expressions as a concise way to express your needs
Preview the first lesson free — get full access to all 3 lessons.
Course: On-Demand
Advanced Provider Scott Stanlick  3 Lessons ·  19m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

In these lessons, you will begin your journey from imperative to functional programming in Java, including what it is, and how Java implements it through something called @FunctionalInterface. We’ll go over how functional programming can come to your aid by building small, concise expressive code fragments that save time and money.

Learn to express what you need accomplished, rather than writing all of the instructions yourself, in much the same way SQL makes the database much easier to utilize. We will wrap up with a look at higher order functions, and how to save functions in a reference variable that can be passed around like any other object reference.

What You'll Learn

  • Distinguish between imperative and declarative (functional) programming in Java
  • Identify how @FunctionalInterface can streamline and simplify your code
  • Build small, concise, and expressive code fragments using lambdas and functional interfaces
  • Create higher-order functions in Java
  • Store functions in a reference variable that can be passed around like any other object reference

Key Takeaways

  • Functional programming lets you express what you need accomplished rather than writing out all of the instructions yourself, much like SQL makes a database easier to use.
  • Java implements functional programming through a mechanism called @FunctionalInterface.
  • Functional programming can produce small, concise, and expressive code fragments that save time and money.
  • Higher-order functions allow you to save functions in a reference variable that can be passed around like any other object reference.

Frequently Asked Questions

What does this course cover?

It covers the journey from imperative to functional programming in Java, including what functional programming is and how Java implements it through @FunctionalInterface, lambdas and functional interfaces, and higher-order functions.

What skills will I gain from this course?

You will gain skills in Functional Programming, Functional Interface, Java 11, Java (Programming Language), Java APIs, and Java Compilers.

What lessons are included?

The course includes three lessons: Imperative vs. Declarative Programming; Lambda and Functional Interface; and Higher-Level Functions.

What are higher-order functions in this course?

Higher-order functions are functions you can save in a reference variable so they can be passed around like any other object reference.