A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Programmer Certification (SCJP/OCPJP)
when does a new call stack is created in Threads?
Joined: Aug 19, 2006
Nov 24, 2006 04:42:00
When does a new thread of execution starts(with a new call stack)?
a) when the start() method is invoked //refer pg 681 k&b
b) when the run() method is invoked // refer pg 676 k&b
"Success is a journey, not a destination." Ben Sweetland
Joined: Feb 08, 2006
Nov 24, 2006 04:45:00
when a thread's start method is is called the thread is moved from Alive to runnable state, with a new stack allocated to it.
SCJP 5.0 77%
Joined: Nov 01, 2006
Nov 24, 2006 04:46:00
when the start() method is invoked
~Sanjeev Singh<br />SCJP 1.5
subject: when does a new call stack is created in Threads?
q on threads
Doubt in GC.
A simple looking System.out.println problem
doubt in K&B book
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014