Skip to content

【502-Week 08】学习总结 #1505

@wangmy

Description

@wangmy

字符串是否可变:
Java/Python/Go:字符串是不可变,每次修改字符串,都会生成一个新的字符串,安全性更高
C++/ruby/PHP/swift:字符串可变,如果需要使用不可变,C++使用const; swift 使用let

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