Which function reads a line of characters typed by the user?
readLine();
readchar();
readLines();
read();
Which of the following classes reads data from the input source ?
Buffer Reader
System
InputStream
OutputStream
How many primitive data types are there in java
7
8
5
6
What exception can be thrown by ParseInt method?
Arithmetic
ClassNotFound
NumberFormat
IO
Which of the following Java package includes input output methods?
java.util
java.io
java.lang
java.awt
What is the information that the program must convey to the user?
input
application
output
data
Which of the following package contains system class?
Java.io
Java.lang
Java.rmi
Java.util
Which of the following problem can be solved by Exception handling?
compile time error
runtime error
static error
none of these
Which of the following method converts a double type value to a string ?
Substring
charAt
compareTo
ValueOf
Which Java class have System.out as its instance?
PrintReader
printWriter
PrintStream
printLine