Hi,
I have some doubt regarding answers mentioned to Question 12 in Self
test exam chap 9,page 738-739.
Ques says ,how to make this application
thread safe.
anser book says : is making methods synchronized.
but what i think aswer should be :
making methods synchronzied
and se stringBffer instead of StringBuilder.
As there can be more than 1 answers.
althouht ,we cannt rely n thread-safe classes but it also helps.
So for
SCJP, how we get to knw ,as both are right ansers.or for sure ,they put no of possible ansers.