正在加载图片...
Strings are immutable A String object is immutable: its contents cannot be changed Does the following code change the contents of the string? String s= Java S=HTML iang, Introduction to Java Programming, Sixth Edition, (c)2005 Pearson Education, Inc. All rights reserved. 0-13-148952-6Liang, Introduction to Java Programming, Sixth Edition, (c) 2005 Pearson Education, Inc. All rights reserved. 0-13-148952-6 6 Strings Are Immutable A String object is immutable; its contents cannot be changed. Does the following code change the contents of the string? String s = "Java"; s = "HTML";
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有