Examveda
Examveda

In Java, can a thread be restarted after it has completed execution?

A. Yes, a thread can be restarted multiple times

B. Only if the thread is marked as "final"

C. Only if the thread is marked as "static"

D. No, a thread cannot be restarted once it has completed

Answer: Option D


This Question Belongs to Java Program >> Threads

Join The Discussion

Related Questions on Threads

What is a thread in Java?

A. A lightweight process that runs independently within a program

B. A data structure to store variables

C. A type of loop

D. A synchronization mechanism