PrintWriter pw = new PrintWriter(new BufferedWriter( new FileWriter(new File("myfile")))); pw.println(32); pw.close();
BufferedReader br = new BufferedReader( new FileReader(new File("myfile")));
int
(a) one readLine operation, followed by conversion from a String to an int using, e.g., Integer.parseInt (b) one readInt operation (c) four read operations, reading 8 bits at a time (followed by 3 shift operations to assemble the bits into a 32-bit word) (d) 32 read operations, reading one bit at a time (followed by 31 shift operations to assemble the bits into a 32-bit word)
readLine
String
Integer.parseInt
readInt
read
Select the most appropriate answer.