Question: What happens when the setDaemon ( true ) method is called on a thread in Java? Question 1 3 Answer a . The thread becomes
What happens when thesetDaemontruemethod is called on a thread in Java?
Question Answer
a
The thread becomes a daemon thread.
b
The thread stops immediately.
c
The thread's priority is set to maximum.
d
The thread enters a sleep state.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
