The law of electric charges states that like charges repel each other, while opposite charges attract each other. This means that positively charged objects will be attracted to negatively charged objects, and two positively charged objects or two negatively charged objects will repel each other.