Correct answer: Both (1) and (2)
Explanation:
An ionic bond is formed by:
1. Transfer of electrons from one atom (usually a metal) to another atom (usually a non-metal).
2. The resulting ions (a positively charged cation and a negatively charged anion) are then held together by the electrostatic force of attraction.
For example, in sodium chloride (NaCl):
Sodium donates one electron to chlorine → Na+ and Cl−
These oppositely charged ions are attracted to each other forming an ionic bond.
Therefore, both transfer of electrons and electrostatic attraction are involved.