11 2023 档案
摘要:
阅读全文
摘要:Java异常机制和 JavaSE 总结 1.什么是异常 1.1检查性异常 用户错误 1.2运行时异常 代码运行的异常 1.3ERROR 不时代码的问题,可能时内存问题 2.Throwable 异常的超类(error || exception) 08~17 1.封装 "高内聚、低耦合",内部细节自己完成;仅暴露少量方法给外部使用。 属性私有,get/set // private : 私有 public class Student { // 属性私有 private String name; // 名字 privat
阅读全文