如果我们在Java中存储一个字符串“Hello World”,那么它会在内存中创建一个大小为11的字符数组,以存储字符串值的所有字符。 String str = "Hello World";.
確定! 回上一頁