Lambda Expression1 람다란 https://code-sumin.tistory.com/27 익명 클래스란 package anonymousclass; public class Person { private String name; public Person(String name) { this.name = name; } public MyReadable createInstance(final int age) { //local inner class class PersonWithAge implements MyReadable { @Override public void read code-sumin.tistory.com 지난 글에서 interface를 구현하는 방법에 두가지가 있다고 설명했다. 1. 클래스에 붙어 구현시킨다. package lambda; .. 2023. 11. 23. 이전 1 다음