Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is a lambda expression?
Think about the purpose of lambda expressions.
What is type inference?
Consider how types are figured out without explicit definitions.
What feature allows lambda expressions to not require separate method definitions?
Consider the implications of brevity in programming.
True or False: Lambda expressions can be used in traditional object-oriented programming without modification.
Think about how Java combines paradigms.
Create a lambda expression to concatenate two strings, and assign it to a functional interface. Demonstrate how you would use it to concatenate 'Hello' and 'World'.
Think about how you would implement the lambda linking to string functionalities.
Discuss the internals of a lambda expression and how it relates to functional interfaces. Why is using the @FunctionalInterface annotation beneficial?
Consider the relationship between interfaces and classes in Java.
5 more questions in this section. Enroll free to practise them all.
Enroll free