adspace
Answer Posted / Nitesh Nayal
In Java, a thread can be made a daemon by setting its daemon status to true using the `setDaemon()` method. Daemon threads are used for background tasks and do not prevent the JVM from exiting when all non-daemon threads have finished.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the java api?
Can we extract main method from another class?
What do you understand by casting in java language? What are the types of casting?
What is the locale class?
What if I write static public void instead of public static void?
what is reflection api? How are they implemented?
How does java handle integer overflows and underflows?
What is the resourcebundle class?
Are jvm’s platform independent?
What is the first argument of the string array in main method?