Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Can we start a thread twice - Core Java
Home
>>
Category
>>
Java (MCQ) questions and answers
>>
Core Java
Q. Can we start a thread twice?
- Published on 15 Jul 15
a.
Yes
b.
No
ANSWER: No
Related Content
Core Java (
160
)
JDBC (
45
)
Hibernate (
12
)
Struts (
26
)
EJB (
25
)
RMI (
23
)
JSP (
22
)
Servlets (
27
)
Applets (
24
)
AWT and Swing (
25
)
Wrapper classes (
15
)
Basic concept of Networking (
19
)
XML (
32
)
Discussion
sravathi
-Posted on 12 Dec 17
No. After starting a thread, it can never be started again. If you does so, an IllegalThreadStateException is thrown. In such case, thread will run once but for second time, it will throw exception.
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲