// parameter 2개만 있을 떄 처리해줌 public Note(@Nullable String title, @Nullable String description){ this(title, description, null); } public Note(@Nullable String title, @Nullable String description, @Nullable String imageUrl){ mId = UUID.randomUUID().toString(); mTitle = title; mDescription = description; mImageUrl = imageUrl; } 변수가 2개만 있을 때 위의 메소드가 받아주고, 맨마지막 변수에 null 값을 넣어서 변수 3개까리 메소드가 처리해준다감동적ㅋㅋ