I have read that objects gain electrons to become negatively charged and also that they lose electrons to become positively charged. I have also read that same charges repel each other and non-same charges attract each other. My question is how can objects gain electrons when the electrons should repel each other.
For example: an element has 17 electrons, so its electronic configuration will be:
K L M
2 8 7
So, it will gain 1 electron. But how can this happen? I mean, shouldn't the electrons repel each other? Moreover, if it gains an electron how will it become stable? I mean I agree that there will be 18 electrons but to become stable shouldn't there be 18 protons? So from where will the extra proton come from?