文章分类 - 错题
打印字符串B开头的
摘要:String orderStream = "B123,C234,A345,C15,B177,G3003,C235,B179"; //字符串转数组 String[] s=orderStream.split(",",0); for(int i=0;i<s.length;i++){ // System.o
Split()和Join()
摘要:1、 string pangram = "The quick brown fox jumps over the lazy dog"; //能倒序的是char[] Array.Reverse(); string str1 = "The"; char[] ch1 = str1.ToCharArray()
构造函数
摘要:public class Const { private Integer a, b, c;//int类型的初始值是0,Integer的初始值是null,所以main方法输出null public void Const() {//不要粗心大意,去掉void才是构造函数, System.out.prin