SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Giuseppa Cefalu wrote:This is the way I see it.
Some how a String buffer methods are synchronized and they will occur in the order consistent with the order in which each thread calls those methods. When threads are implemented a Vector 's iterator fails in the face of concurrent modification. In other words; Aavector is not thread safe by a Stringbuffer is. Howeer, a vector will warn you if the method calls by the respective threads are not synchronized and this will help you during debugging.
Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|