public interface GenericFunctionalInterface<T> { public T genericMethod(); } GenericFunctionalInterface<String> gfi = () -> {return "sss";};