public static void main(String[] args)和使用junit测试的区别

1.经常写一个测试类的时候使用的junit的注解的形式,结果出现了一个问题,直接上代码。 @Test public void test2() throws IOException { System.out.println("请输入字符,按回车键结束输入:"); int c; try { c = System.in.re
相关文章
相关标签/搜索