Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2주차] 3장 코드 구성하기_김기현 #22

Closed
bluewow opened this issue Feb 20, 2022 · 1 comment
Closed

[2주차] 3장 코드 구성하기_김기현 #22

bluewow opened this issue Feb 20, 2022 · 1 comment

Comments

@bluewow
Copy link
Member

bluewow commented Feb 20, 2022

"package-private 접근 수준을 이용해 패키지 간의 경계를 강화할 수 있다" 라는 부분에 대한 질문인데요.

저의 경우는 클래스 생성시에 public 으로만 생성하다 보니 어떤식으로 표현될지 선뜻 와닿지가 않네요.

@bluewow bluewow changed the title [2주차] 3장 코드 구성하기_김기현 2주차 3장 [2주차] 3장 코드 구성하기_김기현 Feb 22, 2022
@bluewow
Copy link
Member Author

bluewow commented Mar 6, 2022

조금 검색해보니깐 package-prviate = defalut 로 같은 패키지에 포함되어 있는 다른 클래스까지만 접근을 허용시킨다!

@bluewow bluewow closed this as completed Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant