
java
xuelireba
一个还没毕业的小白
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java基础知识点总结(一)
1.如果main方法被声明为private会怎么样? 能正常编译,但运行的时候会提示“main方法不是public的”。 2.java里的传引用和传值的区别是什么? 传引用是指传递的是地址而不是值本身,传值则是传递值的一份拷贝。 3.如果要重写一个对象的equals方法,还要考虑什么? hashCode。 4.说明一下public static void main(Stri原创 2017-04-20 23:33:00 · 981 阅读 · 0 评论 -
junit异常(No tests found matching)
我经常犯的低级错误,写下来提醒自己也希望对你有所帮助。java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=testAddNewStudent], {ExactMatcher:fDisplayName=testAddNewStudent(test.JDBCTest)], {LeadingIdentifierM原创 2017-05-05 02:28:34 · 818 阅读 · 0 评论