public Member save(Member member){
member.setId(sequence++);
store.put(member.getId(), member);
return member;
}
public Member save(){
Member member = new Member();
member.setId(sequence++);
store.put(member.getId(), member);
return member;
}
혹시 어떤 방법이 좋은지랑 무슨 차이가 있는지 알수 있을까요