InterviewSolution
Saved Bookmarks
| 1. |
If a timeout which has been specified lapses before the completion of the test, its execution is interrupted with _____________(a) Interrupt()(b) Thread.interrupt()(c) Thread.interruptable()(d) Threads.interruptable()This question was posed to me in an internship interview.I need to ask this question from Timeout Testing topic in portion Mastering JUnit of JUnit |
|
Answer» RIGHT option is (b) Thread.interrupt() To explain: The TIMEOUT is brought about through Interruptible I/O and LOCKS. |
|