Java Programming Lab
1) System class is defined in.........
java.util.package java.lang.package Both of these None
2) Which of these classes defined in java.io and used for file-handling are abstract?
Input Stream Reader Both of them None
3) When comparing java.io.BufferedWriter and java.io.FileWriter,which capability exist as a method in only one of two?
closing the stream flushing the stream writing a line separator to the stream None
4) What does AWT stands for.....
All windows tools All writing tools Abstract window toolkit None
5) Which of these is used to perform all input &output operations in java.....
streams variables classes methods
6) Which of these is a type of stream in Java .....
Integer stream short stream Byte stream long stream
7) Which of these classes are used by Byte streams for input and output operation.....
InputStream InputOutput Streams Reader All
8) Which of these classes are used by character stream for input and output operations....
InputStream Writer ReadStream InputOutput Stream
Number of score out of 8 = Score in percentage =