<<< The synchronized methods example | Index | A synchronized method that increments an instance variable >>> |
public|private synchronized returnType methodName(
[parameterList])
{
statements
}
<<< The synchronized methods example | Index | A synchronized method that increments an instance variable >>> |