Exam 4: Java Exception Handling and Inputoutput Operations

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of these class is used to make a thread?

Free
(Multiple Choice)
4.9/5
(32)
Correct Answer:
Verified

C

Which of these methods can be used to write console output?

Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
Verified

B

Runnable is a

Free
(Multiple Choice)
4.7/5
(30)
Correct Answer:
Verified

D

Which of these interface is implemented to create a Thread?

(Multiple Choice)
4.9/5
(46)

A single try block must be followed by which of these?

(Multiple Choice)
4.9/5
(34)

Which of these is used to read a string from the input stream?

(Multiple Choice)
4.8/5
(41)

Which of these method of Thread class is used to find out the priority given to a thread?

(Multiple Choice)
4.8/5
(27)

Which of these classes are used by Byte streams for input operation?

(Multiple Choice)
4.8/5
(32)

Which of these method waits for the thread to treminate?

(Multiple Choice)
4.9/5
(43)

Which class is the super class of all classes of the java.lang package?

(Multiple Choice)
4.9/5
(40)

Which exception is thrown by read() method?

(Multiple Choice)
4.9/5
(38)

Which is the super class of all exception classes

(Multiple Choice)
4.7/5
(33)

Which of the following exception is raised when a number is divided by zero

(Multiple Choice)
4.8/5
(37)

Which of these exceptions will occur if we try to access the index of an array beyond its length?

(Multiple Choice)
4.7/5
(31)

Thread priority in Java is represented as?

(Multiple Choice)
4.9/5
(44)

Which refers to a channel through which data flow from the source to the destination:

(Multiple Choice)
5.0/5
(34)

Which of this method of Thread class is used to change the state of a thread to blocked state?

(Multiple Choice)
4.8/5
(37)

Byte Stream Classes support input/output operations on _____

(Multiple Choice)
4.8/5
(32)

Which of these classes is used to read characters and strings in Java from console?

(Multiple Choice)
4.9/5
(29)

Which of these methods is used to begin the execution of a thread?

(Multiple Choice)
4.7/5
(43)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)