Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is the syntax of a lambda expression?
Remember, it starts with parameters followed by '->'.
What is a functional interface?
Think about common interfaces like Runnable.
What do lambda expressions primarily allow in Java?
Consider the purpose of lambda expressions.
True or False: A functional interface can have multiple abstract methods.
Think about what defines a functional interface.
Implement a lambda expression that checks if a string is a palindrome.
Consider how to compare the string to its reverse.
Create a lambda expression that calculates the factorial of a number using recursion.
Think about how recursion works in programming.
5 more questions in this section. Enroll free to practise them all.
Enroll free