Computer Science, asked by sandeep7428971193, 23 days ago

40. What Exception is thrown when you start a thread twice ? (A) InterruptedException (B) NullPointerException (C) IOException (D) IllegalStateException​

Answers

Answered by ayyanandrew
0

Answer:

answer is D

Explanation:

after starting a thread it can never be started again if you does an illegal thread state exception is thrown ,in such case thread will run once but for second time it will thrown exception

Similar questions