源码系列-JDK-String

JDK版本:
知识点:

  • JDK的设计
  • 经典方法学习

区块链

JDK 的设计


    // 问题1 : 为什么使用final 关键字
    private final char value[];

    /** Cache the hash code for the string */
    private int hash; // Default to 0
原文地址:https://www.cnblogs.com/liuyupen/p/14616075.html