This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Number of Threads  RSS feed

 
Manoja
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a java program such as "Hello World", how many Threads minimum works ?
What are those threads ?
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is only 1 Thread (generally named "main") that handles a simple "Hello, World" program.

(Of course, the JVM may use different threads for its functions, but there is only the one Java thread).
 
Manoja
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can i know what are the Threads JVM use for this and how they are used ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!