Skip to content

[3주차] 객체지향 코드 연습(박수현)#5

Open
Suehyun666 wants to merge 14 commits intoCOW-edu:mainfrom
Suehyun666:main
Open

[3주차] 객체지향 코드 연습(박수현)#5
Suehyun666 wants to merge 14 commits intoCOW-edu:mainfrom
Suehyun666:main

Conversation

@Suehyun666
Copy link

@Suehyun666 Suehyun666 commented Apr 9, 2025

다음을 지키려고 노력했습니다.

  1. getter setter 지양하기 - 필요 시 방어적 복사, 불변객체
  2. toString 오버라이딩
  3. 정적 팩토리 메소드 사용하기
  4. 캡슐화 은닉화

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant