摘要:
package com.didispace; /** * Created by gmq on 2017/08/07. * * @version 1.0 * @since 2017/08/07 10:42 */ public class Test { public static void main(String[] args) { // switch可以使用字... 阅读全文
posted @ 2017-08-07 11:02
园芳宝贝
阅读(1627)
评论(0)
推荐(0)
摘要:
Java5: 1、泛型 Generics: 引用泛型之后,允许指定集合里元素的类型,免去了强制类型转换,并且能在编译时刻进行类型检查的好处。 Parameterized Type作为参数和返回值,Generic是vararg、annotation、enumeration、collection的基石。 阅读全文
posted @ 2017-08-07 10:55
园芳宝贝
阅读(355)
评论(0)
推荐(1)

浙公网安备 33010602011771号