2018年6月6日

IO,File对象-构造函数和常用方法

摘要: 1 import java.io.File; 2 import java.text.DateFormat; 3 import java.util.Date; 4 5 public class FileDemo { 6 public static void main(String[] args) throws Exception{ 7 creatAndDel... 阅读全文

posted @ 2018-06-06 23:55 冷小超 阅读(470) 评论(0) 推荐(0)

2018年6月5日

多态练习

摘要: 1 public class Fu { 2 int num = 3; 3 void show() { 4 System.out.println("F1"); 5 } 6 static void method() { 7 System.out.println("F2"); 8 } 9 } 1 public class Z... 阅读全文

posted @ 2018-06-05 20:50 冷小超 阅读(139) 评论(2) 推荐(0)

2018年6月4日

jquery购物车添加功能

摘要: 1 2 3 4 5 6 14 15 16 17 18 19 java 20 21 单价... 阅读全文

posted @ 2018-06-04 19:35 冷小超 阅读(1132) 评论(0) 推荐(0)

2018年6月2日

集合,ArrayList练习

摘要: 1 import java.util.ArrayList; 2 import java.util.Iterator; 3 4 public class ArrayListTest { 5 public static void main(String[] args) { 6 ArrayList list = new ArrayList(); 7 ... 阅读全文

posted @ 2018-06-02 15:12 冷小超 阅读(457) 评论(0) 推荐(0)

2018年6月1日

IO流,Properties基本功能和遍历

摘要: 1 import java.util.Enumeration; 2 import java.util.Iterator; 3 import java.util.Properties; 4 import java.util.Set; 5 6 public class PropertiesDemo { 7 public static void main(String[] ar... 阅读全文

posted @ 2018-06-01 09:26 冷小超 阅读(431) 评论(0) 推荐(0)

2018年5月31日

IO流,字符流

摘要: 1 import java.io.FileReader; 2 3 public class FileReaderDemo { 4 public static void main(String[] args) throws Exception{ 5 method_1(); 6 method_2(); 7 } 8 // 方法一... 阅读全文

posted @ 2018-05-31 13:05 冷小超 阅读(177) 评论(0) 推荐(0)

2018年5月30日

IO流,字节流

摘要: 2 /** 3 * IO流,字节流 4 */ 5 import java.io.FileInputStream; 6 import java.io.FileOutputStream; 7 8 public class ByStreamDemo { 9 public static void main(String[] args) throws Exception{ 1... 阅读全文

posted @ 2018-05-30 13:05 冷小超 阅读(191) 评论(0) 推荐(0)

2018年5月21日

ACM 2003~2005

摘要: ACM 2003 求实数的绝对值 import java.util.Scanner; public class Lengxc { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); wh 阅读全文

posted @ 2018-05-21 19:53 冷小超 阅读(131) 评论(0) 推荐(0)

2018年5月20日

ACM 2000~2002

摘要: ACM 2000 输入三个字符后,按各个字符的ASCⅡ码从小打到的顺序输出这三个字符。 import java.util.Scanner; public class Lengxc {public static void main(String[] args) {Scanner scanner = n 阅读全文

posted @ 2018-05-20 23:37 冷小超 阅读(191) 评论(0) 推荐(0)

导航