corrected typo

This commit is contained in:
fejera
2020-02-09 17:40:30 +01:00
parent d345e199bf
commit c9c2a6e981
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ package com.baeldung.concurrent.volatilekeyword;
public class SharedObject {
private volatile int count=0;
void increamentCount(){
void incrementCount(){
count++;
}
public int getCount(){