摘要: 两类方法: read( ) write() close() 两个核心流: FileInputStream FileOutputStream File文件 文件流 FileInputStream / FileOutputStream (字节流) / FileReader / FileWriter(字符 阅读全文
posted @ 2020-03-07 17:08 64Byte 阅读(136) 评论(0) 推荐(0)
摘要: 实现线程的两种方式 一:类名 extends Thread 重写run方法 类名 对象名 = new 类名(); 对象名.start(); 启动线程 二、类名 implements Runnable (推荐使用) 重写run方法 类名 对象名 = new 类名(); Thread 对象名1=new 阅读全文
posted @ 2020-03-07 16:46 64Byte 阅读(162) 评论(0) 推荐(0)
摘要: 网络分为:局域网、城域网、广域网 把软件架构的分类: C/S 架构: Clinet -Server(客户端-服务器) B/S 架构: Browser/Server(浏览器/服务器) 传输协议: 1) UDP: :用户数据报协议(User Datagram Protocol), 不可靠的,速度快 UD 阅读全文
posted @ 2020-03-07 16:23 64Byte 阅读(183) 评论(1) 推荐(1)