摘要:
1、最常用 类.class 2、最实用(结合Properties) a、在模块文件夹下,新建目录(resources),标记为资源根目录->新建资源包(pro.properties)->输入className=全限类名(包名,类名) className=com.wt.reflect.Person b 阅读全文
posted @ 2025-04-21 20:58
市丸银
阅读(19)
评论(0)
推荐(0)
摘要:
1、注意 @Test注解,方法不能有返回值,不能有参数,不能修饰static 2、使用 a、单独建一个类用来做测试 b、案例 功能类 package com.wt.unit; public class CountValue { public int add(int a, int b){ return 阅读全文
posted @ 2025-04-21 19:26
市丸银
阅读(8)
评论(0)
推荐(0)

浙公网安备 33010602011771号