Multiple choice technology web technology Which method is used to create the daemon thread? initDaemon createDaemon setDaemon runDaemon Reveal answer Fill a bubble to check yourself C Correct answer Explanation In Java, the setDaemon(boolean) method is used to mark a thread as a daemon thread before it is started. Daemon threads are background threads that terminate when all non-daemon threads finish execution.