Skip to content

ITEM 13. clone 재정의는 주의해서 진행하라 #29

@brucehaan

Description

@brucehaan

각 번호에 따라 객체 복사 예시와 설명을 작성해주세요.

  1. clone()의 단점이 되는 예시를 두 가지와 함께 왜 단점이 되는지 설명해주세요.
  2. 본문에는 배열의 경우에만 clone()을 활용하면 좋다고 합니다. 배열의 경우에 사용 시 이점이 되는 부분과 예시를 들어주세요.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions