上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: @Test public void test1() throws Exception { //1.创建Person对象 Person p = new Person(); p.setName("张三"); p.setAge(23); p.setGender("男"); //2.创建Jackson的核心 阅读全文
posted @ 2020-01-21 23:01 刀锋意志1 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-21 22:14 刀锋意志1 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 先定义一个公共的接口 public interface SalaComputer { public abstract String sala(double money); public abstract void show(); } 一个真实对象 /** * 真实类 */ public class 阅读全文
posted @ 2020-01-21 21:24 刀锋意志1 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-21 21:16 刀锋意志1 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 相当于for( int i ; i <= 10 ;i ++):begin,end,var,step,属性 遍历集合:items:相当于是list,var是str 》for(string str: list){} 阅读全文
posted @ 2020-01-21 18:56 刀锋意志1 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-21 15:36 刀锋意志1 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-21 14:39 刀锋意志1 阅读(77) 评论(0) 推荐(0) 编辑
摘要: protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //获取请求参数,文件名称 String filename = 阅读全文
posted @ 2020-01-20 23:19 刀锋意志1 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-20 23:18 刀锋意志1 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-20 20:53 刀锋意志1 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页