Answer these Java I/O Package MCQs and see how sharp is your knowledge of Java I/O Package. Scroll down and let's start!
A. Write data to another stream
B. Read data to same stream
C. Read data to another stream
D. Write data to same stream
A. Bytes
B. Bits And Bytes
C. None
D. Bits
A. False
B. True
A. True
B. False
A. DataInputStream
B. BufferedReader
C. InputStreamReader
D. None
A. DataInputStream
B. InputStreamReader
C. Scanner
D. Console
A. InputStreamReader
B. DataInputStream
C. Scanner
D. All
E. Console
A. None
B. InflaterInputStream class
C. DeflaterOutputStream class
D. DeflaterOutputStream class And InflaterInputStream class
A. ReadInt()
B. WriteDouble()
C. WriteInt()
D. ReadLine()
These commonly used methods of:
1) public abstract int read()throws IOException
2) public int available()throws IOException
3) public void close()throws IOException
A. Input/OutputStream class
B. None
C. OutputStream class
D. InputStream class
A. Console class And Scanner class
B. None
C. Console class
D. Scanner Class
A. Output stream of this tokenizer
B. Output stream of this tokenizer And input stream of this tokenizer
C. None
D. Input stream of this tokenizer
These four methods are commonly used in?
public char[] readPassword(String fmt,Object... args)
public String readLine()
public String readLine(String fmt,Object... args)
public char[] readPassword(
A. Scanner Class
B. InputStreamReader class
C. Console class
D. DataInputStream
A. None
B. Single Stream
C. Multiple streams
D. Multilevel Streams
A. False
B. True