Worksheetsexception
Total questions: 11
Worksheet time: 6mins
What is an exception ?
Explanation
Error
Both
Run time exception can be handled by how many keywords?
8
9
5
0
What is a thread?
Executable instructions
String
Array
None
File input atream is used to
Write on a file
Read on a file
Both
Nothing
Writing the data to a file is called?
File Buffer stream
Fileinputstream
FileOutputStream
Input and output streams that are used to read and write a file is known as?
Java.io package
Stringbuffer
Thread
RandomAccessFile , rws is?
Read data
Write data
Read and write data with updates
None
How to create a new file obeject?
Outputstream f =extend FileOutputStream
OutputStream f = new FileOutputStream
New FileOutputStream
None
Which of these keywords is not a part of exception handling?
try
finally
thrown
catch
What is the purpose of 'throw' keyword
To Raise an exception explicityly
To Raise an exception implicityly
To create user defined exceptions
To create custom exceptions
What is the advantage of Exception Handling
To avoid abnormal termination of a program
To find out errors
To Debug program
None of these
