Q. Which of the following is a correct constructor for thread? (Solved)
1. thread(runnable a, string str)
2. thread(int priority)
3. thread(runnable a, int priority)
4. thread(runnable a, threadgroup t)
- a. thread(runnable a, string str)
1. thread(runnable a, string str)
2. thread(int priority)
3. thread(runnable a, int priority)
4. thread(runnable a, threadgroup t)