Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Web Component Certification (OCEJWCD)
local rariable
Timber Lee
Ranch Hand
Posts: 157
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
is the local rariable in
servlet
thread
safe? why?
thank you in advance!
SCJP<br />SCWCD<br />SCEA
AJAY RANA
Ranch Hand
Posts: 75
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
Regards,
Ajay Rana
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
String operation
Did implicit objects are instance variables or local variables in _jspService
object/collection modification
Resource Local Transactions
Are variables defined inside a constructor instance or local?
More...