tzkf

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2023年4月7日

摘要: ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407170721285-539087587.png)![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407170722995-188766075.png)![](https://img2... 阅读全文
posted @ 2023-04-07 17:08 T冰镇西瓜 阅读(8) 评论(0) 推荐(0) 编辑

摘要: ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407170611339-1868056177.png)![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407170613245-967841153.png)![](https://img... 阅读全文
posted @ 2023-04-07 17:07 T冰镇西瓜 阅读(13) 评论(0) 推荐(0) 编辑

摘要: ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407164139367-1280910650.png) ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407164142078-1722049846.png) ![](https:// 阅读全文
posted @ 2023-04-07 16:42 T冰镇西瓜 阅读(10) 评论(0) 推荐(0) 编辑

摘要: ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407163726753-1750606280.png) ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407163728104-227030874.png) ![](https://i 阅读全文
posted @ 2023-04-07 16:38 T冰镇西瓜 阅读(9) 评论(0) 推荐(0) 编辑

摘要: ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407163234732-1738806883.jpg) ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407163238310-744237935.jpg) ![](https://i 阅读全文
posted @ 2023-04-07 16:34 T冰镇西瓜 阅读(10) 评论(0) 推荐(0) 编辑

摘要: ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407090242545-1069731187.jpg) ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230407090248678-672367958.jpg) ![](https://i 阅读全文
posted @ 2023-04-07 09:04 T冰镇西瓜 阅读(8) 评论(0) 推荐(0) 编辑

2023年4月6日

摘要: ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230406220532147-34526810.jpg) ![](https://img2023.cnblogs.com/blog/1954056/202304/1954056-20230406220555221-180221491.jpg) ![](https://img 阅读全文
posted @ 2023-04-06 22:08 T冰镇西瓜 阅读(12) 评论(0) 推荐(0) 编辑

2022年4月10日

摘要: 枚举和注解 枚举是一组常量的集合。 可以理解为:枚举属于一种特殊的类,里面只包含一组有限的特定的对象。 枚举的二种实现方式 自定义类实现枚举 使用 enum 关键字实现枚举 自定义类实现枚举 不需要提供setXxx方法,因为枚举对象值通常为只读 对枚举对象/属性使用final + static共同修 阅读全文
posted @ 2022-04-10 22:25 T冰镇西瓜 阅读(36) 评论(0) 推荐(0) 编辑

摘要: 异常 快捷键: 选中代码块 然后crtl + alt + t 在选中try-catch 执行过程中所发生的异常事件可分为两大类 Error(错误): Java虚拟机无法解决的严重问题。如: JVM系统内部错误、资源耗尽等严重情况。比如: StackOverflowError[栈溢出]和OOM(out 阅读全文
posted @ 2022-04-10 22:25 T冰镇西瓜 阅读(31) 评论(0) 推荐(0) 编辑

摘要: 内部类 一个类的内部又完整的嵌套了另一个类结构。被嵌套的类称为内部类(inner class),嵌套其他类的类称为外部类(outer class)。 是我们类的第五大成员[思考:类的五大成员是哪些?[属性、方法、构造器、代码块、内部类],内部类最大的特点就是可以直接访问私有属性,并且可以体现类与类之 阅读全文
posted @ 2022-04-10 22:24 T冰镇西瓜 阅读(16) 评论(0) 推荐(0) 编辑