40. What Exception is thrown when you start a thread twice ? (A) InterruptedException (B) NullPointerException (C) IOException (D) IllegalStateException
Answers
Answered by
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
Social Sciences,
11 days ago
English,
11 days ago
English,
11 days ago
French,
23 days ago
Political Science,
23 days ago
English,
8 months ago
Chemistry,
8 months ago