American Express Interview Question

What happens when 2 threads try to modify an ArrayList?