Skip to content

Udemy/section5/66: protected #42

Open
@4BFC

Description

@4BFC

✍Udemy/section5/66: protected

해당 issue는 실습을 하지 않고 개념만 작성한 issue 입니다. 진도를 빠르게 넘어가기 위함이니 아래 개념만 익혀두면 설명이 충분합니다. 따라 실습관련 브랜치는 없습니다.

🔥KeyWord

  • protected

📝Description

  • protected
    • protected는 private, public과 같은 접근권한 중 하나이다. 이는 상속을 받은 클래스에서 private와는 달리 접근을 할 수 있다.
      • 허용 범위에 따른 크기 순서
        • public(accessed) > proteced(accessed) > private(unaccessed)

📌Summary

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions