摘要:
code public class StringRegTest { public static void main(String[] args) { // 1.定义描述规则的正则表达式字符串并使用变量记录 // 正则表达式只能对数据格式进行验证,无法对数据内容的正确性进行检查,内容的正确性检查需要后 阅读全文
posted @ 2021-08-26 17:56
新时代农民工01
阅读(103)
评论(0)
推荐(0)
摘要:
String常用构造方法 public class StringConstructorTest { public static void main(String[] args) { // 1.使用无参方式构造对象并打印 String str1 = new String(); // "" 表示空字符串 阅读全文
posted @ 2021-08-26 16:14
新时代农民工01
阅读(50)
评论(0)
推荐(0)
浙公网安备 33010602011771号