FileInputStream按____读取文件,FileReader按____读取文件。
查看答案
一个线程执行完run方法后,进入了____状态?该线程还能再调用start方法吗____(填能或不能)?
线程在____和____状态时,调用isAlive()方法返回的值是false。
InetAddress对象使用怎样的格式来表示自己封装的地址信息?____
文件E.java的长度是51个字节,请写出E类中标注的【代码1】的输出结果____。import java.io.*;public class E { public static void main(String args[]) { File f = new File("E.java"); try{ RandomAccessFile in = new RandomAccessFile(f,"rw"); System.out.println(f.length()); //【代码1】 FileOutputStream out = new FileOutputStream(f); System.out.println(f.length()); //【代码2】 } catch(IOException e) { System.out.println("File read Error"+e); } }}