摘要: public class GoBang { // 定义一个二维数组充当棋盘 private String [][] board; //定义棋盘大小 private static int Board_SIZE =15; public void initBorad(){ board=new String 阅读全文
posted @ 2016-04-23 22:17 赤子之心_timefast 阅读(270) 评论(0) 推荐(0)
摘要: /* * 需求:作业:将c盘的一个文本文件复制到d盘。 * * 思路: * 1,需要读取源, * 2,将读到的源数据写入到目的地。 * 3,既然是操作文本数据,使用字符流。 * */ public class CopyTextTest { /** * @param args * @throws IO 阅读全文
posted @ 2016-04-23 11:45 赤子之心_timefast 阅读(149) 评论(0) 推荐(0)
摘要: public class TransStreamDemo { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { //字节流。 InputStre 阅读全文
posted @ 2016-04-23 11:31 赤子之心_timefast 阅读(127) 评论(0) 推荐(0)