Open ssstopeun opened 1 year ago
Is Iterable a functional interface in Java?
No, Iterable is not a functional interface in Java. It is a built-in interface that represents a collection of elements that can be iterated over using a for-each loop or an iterator. However, it does not have a single abstract method, which is a requirement for functional interfaces.
Iterable 인터페이스는 추상메서드 1개 + 디폴트 메서드 2개의 조합인 사실 Functional Interface?
코드 47-2