Hi,
i can't understand why are using volatile in java please explain with example