Skip to content

(양*호, 강의노트 14장) 메서드 추가 #151

@qpq8xf

Description

@qpq8xf

연습문제를 풀어보면서 Student 클래스에 매직 메서드, 인스턴스 메서드를 하나씩 추가하여 새로 작성해보며 각 메서드의 역할을 확인할 수 있었습니다.
그런데 메서드를 추가할 때마다 클래스 전체를 다시 작성하는 방식이 다소 번거롭게 느껴졌습니다. 이미 정의된 클래스가 있을 때 나중에 메서드를 추가할 수 있는 방법이 있는지 궁금합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions