American Express interview question

What happens when 2 threads try to modify an ArrayList?