Q:

Is java main method a thread?

I was wondering if Java main method was a thread or not. I noticed that if the main method returns, all threads are killed. Can you explain me why this happens?
Thank you in advance.

A:

Actually the main method runs on the Main thread ! The main threads invokes your main() 
All the other threads of a java application are spawned from this thread !

