摘要:
第一种static class T implements Comparable{ private String name; private int count; public T(String name, int count) { super(); this.name = name; ... 阅读全文
摘要:
public class StreamDemo5 { public static void main(String[] args) { try { byte[] b = new byte[10000]; System.out.println("请输入:"); while(tru... 阅读全文
摘要:
public class StreamDemo3 { public static void main(String[] args) { try { //管道流 PipedInputStream in = new PipedInputStream(); PipedOutputStream... 阅读全文
摘要:
public class StreamDemo2 { public static void main(String[] args) { try { BufferedInputStream bis = new BufferedInputStream( new FileInputStrea... 阅读全文