The law of electrostatic attraction and repulsion states that 'two like charges repel each other and two unlike charges attract each other'.