casier syncronisé de filetage java

synchronized void incrementSync() {
    count = count + 1;
}
Agreeable Albatross