A functional interface consists of a single abstract method and no other methods. An example of a functional interface is the Runnable interface which is a part of the java.lang package. The Runnable interface contains only one method i.e., the run() method. Read more.