摘要:
1 package cn.itcast.p2.stringbuffer.demo; 2 3 public class StringBufferDemo { 4 5 public static void main(String[] args) { 6 // TODO Auto-generated me 阅读全文
摘要:
1 package cn.itcast.p1.string.demo; 2 3 class StringObjectDemo { 4 public static void main(String[] args) { 5 // String s1 = "abc"; 6 // String s2 = " 阅读全文
摘要:
1 package cn.itcast.p1.string.demo; 2 3 import java.util.Iterator; 4 5 import com.sun.org.apache.xpath.internal.operations.Equals; 6 7 public class St 阅读全文
摘要:
1 package cn.itcast.p1.string.demo; 2 3 public class StringConstructorDemo { 4 public static void main(String[] args) { 5 stringConstructorDemo(); 6 s 阅读全文
摘要:
1 package cn.itcast.p1.string.demo; 2 3 public class StringDemo { 4 public static void main(String[] args) { 5 /* 6 * String类的特点: 7 * 字符串对象一旦被初始化就不会被改 阅读全文