摘要: <table> <tr> // tr行 <td> // td列 </td> </tr> </table> 阅读全文
posted @ 2016-07-31 20:34 包大人2 阅读(83) 评论(0) 推荐(0)
摘要: //指定长度为10 String [] arr = new String[10]; //两种没什么区别,只是上面可读性比较好 String arr[] = new String[10]; //直接初始化数组 String[] arr = {"a","b"}; //先定义一个数组 String [] arr = null; //赋值数组的第一个值 arr[0] = "a"; 阅读全文
posted @ 2016-05-26 11:17 包大人2 阅读(164) 评论(0) 推荐(0)
摘要: md 创建文件夹 rd 删除文件夹 copy con +name 新建文件 并编辑 按Ctrl+z 结束编辑edit name 编辑内容 阅读全文
posted @ 2016-05-22 00:04 包大人2 阅读(95) 评论(0) 推荐(0)
摘要: 实例变量 在类中定义 有默认值 局部变量 在方法中定义 无默认值 阅读全文
posted @ 2016-05-21 16:25 包大人2 阅读(76) 评论(0) 推荐(0)
摘要: java 关键字 final 意味 不可改变 1.final类 不能被继承 2.final方法 不允许被覆盖 3.final变量 一旦给定 不法改变,可以为空白 阅读全文
posted @ 2016-05-19 18:37 包大人2 阅读(107) 评论(0) 推荐(0)
摘要: the methon of automatically(自动) executing(执行) in class instance(类实例化) is called the construction method its name is the same as the name of class publ 阅读全文
posted @ 2016-05-18 20:08 包大人2 阅读(231) 评论(0) 推荐(0)
摘要: an abstarct class cannot be instatiatede(实例化) 阅读全文
posted @ 2016-05-18 13:12 包大人2 阅读(89) 评论(0) 推荐(0)
摘要: The get and set method is used to modify the private(私有数据 )。 If a data has been setting as a private , then it cannt be called by other classes or cha 阅读全文
posted @ 2016-05-18 12:48 包大人2 阅读(102) 评论(0) 推荐(0)
摘要: Use the final statement of class cannot be inherited(继承) Use the final statement of method cannot be recovered by its subclass(子类) use the final state 阅读全文
posted @ 2016-05-18 12:30 包大人2 阅读(126) 评论(0) 推荐(0)
摘要: String name = "张三你好,我不是大是大多数"; char name1 = name.charAt(1); name1="三” charAt(x) 提取 字符串下标x对应的字符 name.indexOf("你")=2 indexOf (“字符 ”)提取目标字符串中 第一次出现某字符的下标 阅读全文
posted @ 2016-05-17 20:43 包大人2 阅读(126) 评论(0) 推荐(0)