Skip to content

파라미터 final 키워드 #55

Description

@sktkddn777

함수 내부에서 전달받은 파라미터 값의 재할당을 막는 용도로 넘어온 값을 상수 처리해주는 것 어떤가요?
객체에 재할당을 막지만 객체의 내부 값은 final 영향 밖에 있어서 변경 가능합니다.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions