摘要: 自定义和使用含有泛型的类: 自定义含有泛型的方法。 格式: 修饰符 <泛型> 返回值类型 方法名 (参数列表【泛型】){方法体} 自定义和使用含有泛型的接口: 泛型的通配符: ?:代表任意的数据类型。 使用方式: 不能 受限泛型 泛型的上限限定: ? extends E 代表使用的泛型只能是E类型的 阅读全文
posted @ 2019-04-19 16:39 张玉昊 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 原文: A goof idea question:What does Jane have with her coffee? Shall I make some coffe, Jane? That's a good idea, Charlotte. It's ready. Do you want an 阅读全文
posted @ 2019-04-19 13:44 张玉昊 阅读(232) 评论(0) 推荐(0) 编辑