Re:The Y Combinator
by Joker_vD on Monday July 05, 2021 @06:42AM
(#27736466)
No, they are not. Do you know what "interface" is in Java, and what is "class"? And what is "method"?
Interface Func doesn't refer to FuncToFunc in its declaration, and interface FuncToFunc doesn't refer to Func. The method Y does refer to those two interfaces, but it's declared later than those are, and they don't (and can't, acvtually) refer to it.
Interface Func doesn't refer to FuncToFunc in its declaration, and interface FuncToFunc doesn't refer to Func. The method Y does refer to those two interfaces, but it's declared later than those are, and they don't (and can't, acvtually) refer to it.