Link to home
Start Free TrialLog in
Avatar of eturfclub
eturfclub

asked on

synchronized keyword

Hi,
anyone have any idea what does the synchronized keyword means and wad it does? Thanks
ASKER CERTIFIED SOLUTION
Avatar of mjmohan
mjmohan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zzynx
Avatar of sciuriware
sciuriware

synchronized   means:  the following method or compound statement will only be executed
                                  by ONE running thread at a time,
or                               the following class (object) 's methods will only be executen by
                                  ONE running thread at a time.
This only applied to programs with extra threads that might concurr at given times.
<*>