Answer: Given situation illustrates law of attraction.
Step-by-step explanation:
According to the law of attraction opposite charges attract each other and like charges repel each other.
So, when charge from the generator was transferred to Mary's hair then all of them acquire a positive charge. As all of them have a similar charge so, they used to repel each other.
This repulsion of like charges is known as law of attraction.