2019年9月27日

文件导入导出

摘要: 导入: public List<Shipment> readXls(InputStream is,Integer userId,Integer prodId) throws IOException, InvalidFormatException { List<Shipment> shipments= 阅读全文

posted @ 2019-09-27 19:21 孔kk 阅读(233) 评论(0) 推荐(0)

动手动脑-生成随机数

摘要: i public class Ko{ public static void main(String[] args) { for(int i=0;i<1000;i++){ int q=(int)(Math.random()*100000); System.out.println(q); } }} 阅读全文

posted @ 2019-09-27 19:15 孔kk 阅读(96) 评论(0) 推荐(0)

动手动脑-重载

摘要: 不同 参数类型不一样 满足以下条件的两个或多个方法构成“重载”关系: (1)方法名相同; (2)参数类型不同,参数个数不同,或者是参数类型的顺序不同。 注意:方法的返回值不作为方法重载的判断条件 阅读全文

posted @ 2019-09-27 18:59 孔kk 阅读(92) 评论(0) 推荐(0)

导航