if I have a getter method that has only one statement like this
public class NumberClass{
    int number;
    public int getNumber() {
        return number;
    }
    ...
}
and multiple threads access this method, do I have to synchronize this method or it is not necessary since it has only one statement??
 
     
     
     
    