How many threads does a java program have in execution?

1

Showing Answers 1 - 3 of 3 Answers

abhishek

  • Dec 5th, 2005
 

Since in java a normal programme will executing on only the one thread i,e a main() class thread

  Was this answer useful?  Yes

In every Java program two threads will be activated.
One is foreground thread (used for program execution).
Second is background thread that is garbage collector.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions