摘要:
public class Homework { public static void main(String[] args) throws ParseException { lower(); 全部调用 upper(); repalce(); repalce1(); trim(); public st 阅读全文
2019年3月19日 #
摘要:
/* boolean isEmpty(): 判断字符串是不是空串, 如果是空的就返回true */ public class Str { public static void main(String[] args) { // 定义空字符串 String s=""; // 判断是否为空 boolean 阅读全文
摘要:
// char charAt(int index): 返回索引上的字符 public class Char { public static void main(String[] args) { //定义字符串 String s="Holle"; // 定字符串定义字符串的下标 char s1=s.c 阅读全文
摘要:
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class DouShaoTian { public static void main(String[] 阅读全文