![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
可可爱爱没有脑袋huhuhu
这个作者很懒,什么都没留下…
展开
-
Java自主学习(四):正则表达式应用类
一丶Pattern 1. complie static Pattern complie(String regex) 将给定的正则表达式编译为模式。 Pattern compile = Pattern.compile("^[A-Za-z]+$"); 输出结果为:^[A-Za-z]+$ Pattern compile = Pattern.compile("\\d"); 输出结果为:\d ...原创 2021-08-04 20:20:56 · 146 阅读 · 0 评论 -
Java自主学习(三):类的加载顺序
1.主方法在加载类外时 public class Test05 { public static void main(String[] args) { System.out.println("main start"); new StaticInit(); System.out.println("main end"); } } class StaticInit { public static StaticInit si = new .原创 2021-07-26 23:02:57 · 124 阅读 · 2 评论