Its true for integers if you are using the associative property in addition or multiplication ONLY.
6.2m questions
8.2m answers