标签: functional-interface
@FunctionalInterface interface GetQuery { abstract StringBuilder fetchQuery(); }
我已经编写了如上所述的代码,但是它没有功能接口。为什么呢?
功能接口应该始终在类内吗?