What return type is synchronized of the function? public synchronized void reset()
jason adam
Chicken Farmer ()
Ranch Hand
Joined: May 08, 2001
Posts: 1932
posted
0
Synchronized is not a return type, it is a modifier saying that a Thread calling this method obtains a lock, causing all other Threads trying to access that object's synchronized methods to wait until the current thread is done. Do a search on "synchronized" for more information, or read any Java book you have available to you. Jason