Question: Which cannot directly cause a thread to stop executing?

Options

A : Calling the SetPriority() method on a Thread object.

B : Calling the wait() method on an object.

C : Calling notify() method on an object.

D : Calling read() method on an InputStream object.

Click to view Correct Answer

Previous || Next

Threads - General Questions more questions

What is the numerical range of char?

Which of the following are Java reserved words?

What is the name of the method used to start....

Which two are valid constructors for Thread?

Which three are methods of the Object class?

Which two of the following methods are defined in class....

Which three guarantee that a thread will leave the running....

Which of the following will directly stop the execution of....

Which method must be defined by a class implementing the....

Which will contain the body of the thread?

Declarations and Access Control - General Questions more Online Exam Quiz

Language Fundamentals - General Questions

Objects and Collections - General Questions

Automobile Engineering - Part 1

Compressors, Gas Dynamics and Gas Turbines - Part 1

Engineering Materials - Part 1

Engineering Mechanics - Part 1

Heat Transfer, Refrigeration and Air Conditioning - Part 1