Q1. Invoking start twice on same thread leads to ..
a. ClassCastException
b. NullPointerException
c. InterruptedException
d. IllegalStateException
Ans. IllegalStateException
Q2. Which interfaces are implemented by IllegalStateException?
Ans.[, Serializable]
Q3. Which is the Parent Class of IllegalStateException class?
Ans.java.lang.RuntimeException
Q4. What is the package name for IllegalStateException class?
Ans.java.lang
a. ClassCastException
b. NullPointerException
c. InterruptedException
d. IllegalStateException
Ans. IllegalStateException
Q2. Which interfaces are implemented by IllegalStateException?
Ans.[, Serializable]
Q3. Which is the Parent Class of IllegalStateException class?
Ans.java.lang.RuntimeException
Q4. What is the package name for IllegalStateException class?
Ans.java.lang