Add sample code of functional interface and function type.