Chapter 07: Using Library Classes

1.	A package is a collection of function.
a)	True
b)	False

2.	Trapping and reporting the errors to the system handler is known as:
a)	Corrector
b)	Bug handling
c)	Exception handling
d)	Trapper

3.	Character type I/O is performed by using?
a)	Input and output
b)	Input stream & output stream
c)	Reader and writer 
d)	None

4.	______ is the package to use PrintStream.
a)	Java.util
b)	Java.net
c)	Java.awt
d)	Java.io

5.	System.out is an object of which stream class?
a)	Writer 
b)	Reader
c)	Input
d)	Output

6.	String to primitive type conversion is possible by using
a)	Compiler
b)	ASCII conversion
c)	Wrapper class
d)	Interpreter

7.	Error crept during execution is reported by:
a)	Stream
b)	Throws
c)	Exception
d)	None

8.	To use the related class object, you are required to import a package.
a)	True
b)	False

9.	A number of program modules grouped together is termed as:
a)	Function
b)	Compound structure
c)	Package
d)	None

10.	Which keyword is used to use a package in your program?
a)	"import" keyword
b)	"implicit" keyword
c)	"include" keyword
d)	None of the above

11.	A wrapper class may be used to contain.
a)	Reference type data
b)	Primitive data
c)	Non-primitive data
d)	None

12.	Which package is used to activate input/output streams?
a)	Java.util
b)	Java.io
c)	Java.net
d)	Java.awt