To quote from Wikipedia,
A binary operation is commutative if changing the order of the operands does not change the result.Of course, it is…