摘要:
斐波那契数列 f(0) = 0; f(1) = 1.......f(n) = f(n-1) + f(n - 2) 阅读全文
摘要:
1 /*输出流必须执行flush(),不然写不进去*/ 2 import java.io.*; 3 public class TestIO { 4 public static void main(String[] args) throws Exception { 5 /*单个字符的读取: int r 阅读全文
摘要:
确定流的一般过程: (1)是读还是写。读: Reader InputStream 写:Writer OutputStream (2)是否纯文本。 是: Reader Writer 否:InputStream OutputStream (3)确定流源: 硬盘:File 内存:ByteArray Cha 阅读全文