String str = "abc";. is equivalent to: char data[] = {'a', 'b', 'c'}; String str = new String(data);. Here are some more examples of how strings can be used ...
確定! 回上一頁