08 2022 档案
摘要:集合第一天: 回顾: 正则表达式: 用于描述字符串内容格式,匹配字符串是否符合格式要求 String支持正则表达式的方法: matches():匹配 replaceAll():替换 split():拆分 Object: 所有类的鼻祖,所有类都直接或间接继承了Object,万物皆对象,为了多态 有两个
阅读全文
摘要:API基础第二天: 回顾: String: String s = new String("hello"); String常用方法: length():获取长度 trim():去掉两边空白 toUpperCase()和toLowerCase():转大写/转小写 startsWith()和endsWit
阅读全文

浙公网安备 33010602011771号