摘要:
字节输出流 OutputStream(基类,抽象) 特点:写任意的文件 方法:写出数据的方法:write write(int b) 写出1个字节 -128~127之间,写的是一个ASCLL码的值 write(byte[] b) 写出字节数组 write(byte[], int off, int le 阅读全文
摘要:
java.util.Date: 构造方法 public Date() 空参构造,返回当前时间 public Date(long 毫秒值) 指定毫秒值的时间 普通方法 long getTime() 获取毫秒值 viod setTime() 设置毫秒值 Date 指定毫秒数和Date类型的转换 Date 阅读全文