- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 学习笔记I/O篇之七
import java.io.*;class ObjectSerialTest...{ public static void main(String[] args) throws Exception ...{ Employee e1=new Employee("zhangsan",25,3000.50); Employee e2=new Employee("lisi",24,320
2007-05-31 15:29:00 490
原创 学习笔记I/O篇之六
import java.io.*;class RandomFileTest...{ public static void main(String[] args) throws Exception ...{ Student s1=new Student(1,"zhangsan",98.5); Student s2=new Student(2,"lisi",96.5); Student
2007-05-31 15:27:00 495
原创 学习笔记I/O篇之五
import java.util.*;import java.io.*;import java.nio.charset.*;public class CharsetTest...{ public static void main(String args[]) throws IOException ...{ //获取各种编码格式 /** *//*
2007-05-31 15:23:00 560
原创 学习笔记I/O篇之四
import java.io.*;public class IOStreamTest...{ public static void main(String args[]) throws IOException ...{ /** *//**FileOutputStream fos=new FileOutputStream("hello123.txt");
2007-05-31 14:59:00 731
原创 学习笔记I/O篇之三
import java.io.*;public class PipeStreamTest...{ public static void main(String args[]) ...{ PipedOutputStream pos=new PipedOutputStream(); PipedInputStream pis= new PipedInputStream();
2007-05-31 14:10:00 449
原创 学习笔记I/O篇之二
import java.io.*;public class StreamTest...{ public static void main(String args[]) throws IOException ...{ /** *//**int data; while((data=System.in.read())!=-1) {
2007-05-31 13:27:00 489
原创 学习笔记I/O篇之一
import java.io.*;public class FileList...{ public static void main(String args[]) ...{ /** *//**File f=new File("1.txt"); f.createNewFile(); f.mkDir();
2007-05-31 12:27:00 527
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人