IntelliJ IDEA Tips & Tricks #49: Create a functional interface with Alt + Enter

Опубликовано: 17 Октябрь 2024
на канале: CodeOpsTech
413
0

A functional interface is an interface that has only one abstract method. Lambda expressions implement functional interfaces and that's why they are very valuable to create and use. You can use the optional @FunctionalInterface for indicating an interface as a functional interface.


This video shows how to create one in IntelliJ IDEA.