The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

What is meant by "Synchronized by default",

Posted by Muthukumar on November 24, 2000 at 7:39 PM

Hi ,

As per JLS, 'Hashtable' and 'Vector' are
synchronized by default.
I am curious to know what this really means ?
(Does this mean all access to these objects are
synchronized automatically and no explicit synchronized
statment is required?)

Thanks in advance.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us