摘要: import java.net.*;import java.io.*;import java.util.*; class QQChatServer { public static void main(String[] args) { //System.out.println("Hello World 阅读全文
posted @ 2017-04-24 17:13 负零度 阅读(168) 评论(0) 推荐(0) 编辑
摘要: class FilesDemo2{ public static void main(String[] args){ try(FileWriter fw = new FileWriter("D:\\java\\iotest\\Stream.txt"); BufferedWriter bw = new 阅读全文
posted @ 2017-04-19 20:30 负零度 阅读(153) 评论(0) 推荐(0) 编辑
摘要: class student implements Serializable{ String name; int age; static int num; transient String sex; student(){} student(String name,int age,int num,Str 阅读全文
posted @ 2017-04-19 20:29 负零度 阅读(139) 评论(0) 推荐(0) 编辑
摘要: import java.util.*;import java.util.regex.*;class FilesDemo2{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out. 阅读全文
posted @ 2017-04-19 20:26 负零度 阅读(187) 评论(0) 推荐(0) 编辑
摘要: class FilesDemo2{ public static void main(String[] args){ try(FileOutputStream fos = new FileOutputStream("D:\\test.properties"); FileInputStream fis 阅读全文
posted @ 2017-04-19 20:25 负零度 阅读(975) 评论(0) 推荐(0) 编辑
摘要: class FilesDemo2{public static void main(String[] args){ File ff = new File("D:\\file.txt"); try(RandomAccessFile f = new RandomAccessFile("D:\\Stream 阅读全文
posted @ 2017-04-19 20:24 负零度 阅读(223) 评论(0) 推荐(0) 编辑