java se类和对象
-
javaSE类和对象进阶用法举例详解
目录前言一、封装1.访问限定符2.包2.1包的概念2.2导入包2.3自定义包2.4常见的包二、static成员1.static修饰成员变量2.static修饰成员方法三、代码块1.代码块概念以及分类2.普通代码块3.构造代码块静态代码块实例代码[详细]
2025-08-06 10:23 分类:开发 Junit : add handling logic when exception is not expected
I am trying to print the stack trace of the exception. However, for negative test case, only the unexpected exception is printed.[详细]
2022-12-29 05:58 分类:问答