Skip to content

分类可不可以添加实例对象?为什么? #31

@tbfungeek

Description

@tbfungeek

不能,因为在运行期,对象的内存布局已经确定,如果添加实例变量就会破坏类的内部布局

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions