![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Java
编程语言
Janvn
这个作者很懒,什么都没留下…
展开
-
Java 增强型的for循环 for each
For-Each循环 For-Each循环也叫增强型的for循环,或者叫foreach循环。For-Each循环是JDK5.0的新特性(其他新特性比如泛型、自动装箱等)。For-Each循环的加入简化了集合的遍历。其语法如下:for(type element: array){ System.out.println(element);}例子 其基本使用可以直接看代码:...转载 2020-03-24 19:55:07 · 179 阅读 · 0 评论 -
在Eclipse中使用JUnit4进行单元测试(初级篇)
转自:http://blog.csdn.net/andycpp/article/details/1327147(实测)本文绝大部分内容引自这篇文章:http://www.devx.com/Java/Article/31983/0/page/1我们在编写大型程序的时候,需要写成千上万个方法或函数,这些函数的功能可能很强大,但我们在程序中只用到该函数的一小部分功能,并且经过调试转载 2016-01-14 09:44:09 · 501 阅读 · 0 评论 -
PostgreSQL Java tutorial
This is a Java tutorial for the PostgreSQL database. It covers the basics of PostgreSQL programming with Java. In this tutorial, we use the PostgreSQL JDBC Driver driver. It is the official JDBC driver转载 2017-07-25 18:56:38 · 529 阅读 · 0 评论