Hi,
I'm using Enthuware and ran across this question.
What will be the output when this program is compiled and run from the command line?
choices are:
It will print "Hello World" twice.
It'll keep printing "Hello World".
2 new threads are created by the program.
1 new
thread is created by the program.
None of these.
The correct answer given is None of these.
I chose 1 new thread is created by the program.
The reason I chose this is because I thought they were being tricky and counting main as a thread.
Wouldn't it create one thread for main or would that not be the program from the command line that does that?