摘要:
1 package 文件操作; 2 3 import java.io.File; 4 import java.io.FileReader; 5 import java.io.IOException; 6 import java.io.Reader; 7 8 public class TestRead 阅读全文
posted @ 2017-04-08 23:58
xiongjiawei
阅读(1243)
评论(0)
推荐(0)
摘要:
1 package 文件操作; 2 3 import java.io.File; 4 import java.io.FileWriter; 5 import java.io.IOException; 6 import java.io.Writer; 7 8 public class TestWrit 阅读全文
posted @ 2017-04-08 23:36
xiongjiawei
阅读(965)
评论(0)
推荐(0)
摘要:
1 package 文件操作; 2 3 import java.io.File; 4 import java.io.FileInputStream; 5 import java.io.IOException; 6 import java.io.InputStream; 7 8 public clas 阅读全文
posted @ 2017-04-08 23:17
xiongjiawei
阅读(546)
评论(0)
推荐(0)
摘要:
1 package 文件操作; 2 3 import java.io.File; 4 import java.io.FileOutputStream; 5 import java.io.IOException; 6 import java.io.OutputStream; 7 8 public cl 阅读全文
posted @ 2017-04-08 22:05
xiongjiawei
阅读(258)
评论(0)
推荐(0)
摘要:
1 package 文件操作; 2 3 import java.io.File; 4 import java.io.IOException; 5 6 public class TestFile { 7 public static void main(String[] args) throws IOE 阅读全文
posted @ 2017-04-08 19:36
xiongjiawei
阅读(258)
评论(0)
推荐(0)
摘要:
1 package 国际化; 2 3 import java.util.ResourceBundle; 4 5 public class TestResource { 6 public static void main(String[] args) { 7 ResourceBundle rb=Res 阅读全文
posted @ 2017-04-08 17:46
xiongjiawei
阅读(529)
评论(0)
推荐(0)
摘要:
实例化对象的3种方式:new、clone、反射 阅读全文
posted @ 2017-04-08 16:33
xiongjiawei
阅读(375)
评论(0)
推荐(0)
摘要:
1 package 反射; 2 interface Product{ 3 public void produce(); 4 } 5 class socks implements Product{ 6 @Override 7 public void produce() { 8 System.out.p 阅读全文
posted @ 2017-04-08 16:05
xiongjiawei
阅读(229)
评论(0)
推荐(0)
摘要:
1 package 反射; 2 3 public class Test反射 { 4 public static void main(String[] args) { 5 System.out.println(Runtime.getRuntime().getClass());//class java. 阅读全文
posted @ 2017-04-08 15:01
xiongjiawei
阅读(189)
评论(0)
推荐(0)
摘要:
1 package 正则; 2 3 import java.util.regex.Matcher; 4 import java.util.regex.Pattern; 5 6 public class Test_regex { 7 public static void main(String[] a 阅读全文
posted @ 2017-04-08 14:47
xiongjiawei
阅读(739)
评论(0)
推荐(0)
摘要:
1 package 正则; 2 3 public class TestIsNum { 4 public static void main(String[] args) { 5 String s1="abc"; 6 String s2="98765234567800987654321123456789 阅读全文
posted @ 2017-04-08 12:58
xiongjiawei
阅读(2786)
评论(0)
推荐(0)

浙公网安备 33010602011771号