Java - Public String(char[] value)

前端 未结 4 1859
夕颜
夕颜 2021-01-20 02:58

My question is about: Public String(char[] value). Can anybody help me: does it internally loops for every value[i] or not. Specifically,

does Public String(char[] v

4条回答
  •  深忆病人
    2021-01-20 03:23

    See String class source code

    However, it can be different depending on version of Java.

提交回复
热议问题