public static void main() is the userthread or deamon thread?
thanxs in advance
"main()" means stand-alone program.
So if executed, it's a process, not a thread.
Inside your stand-alone program, you can open threads. Either demon or normal threads.
Clearly, the thread that starts executing the main method can't be a daemon. If it were your program should immediately stop! But don't believe me -- check for yourself:
Comment