JAVA J2EE Enterprise Interview Questions
JAVA J2EE Enterprise Interview Questions
Search
Friday, April 16, 2010
is locking possible on primitive type or on static variable
No , Only object level locking is supported in JAVA . so locks are possible only on Objects .
i.e Synchronized works with the object and methods only.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment