Skip to content

深拷贝与浅拷贝 #36

@JLUssh

Description

@JLUssh

深拷贝中的cloneOtherType方法是否有误?
new Ctr(tar);
如果这个tar是new Boolean(false)等,new Ctr(tar) 这样得到的值为true...
(好像只有这一个特例....

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