This week's giveaway is in the
We're giving away four copies of
video training course and have Ken Kousen on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Web Component Certification (SCWCD/OCPJWCD)
Joined: Oct 14, 2002
Oct 26, 2002 22:54:00
is the local rariable in
thread safe? why?
thank you in advance!
SCJP<br />SCWCD<br />SCEA
Joined: May 30, 2002
Oct 26, 2002 23:30:00
Because every thread gets its own copy of local variable.so ,even if multiple threads are accessing a method each thread would have its own copy of local variable.
I agree. Here's the link:
subject: local rariable
Did implicit objects are instance variables or local variables in _jspService
Resource Local Transactions
Are variables defined inside a constructor instance or local?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015