Water (H2O) is polar because of the bent shape of the molecule. The shape means most of the negative charge from the oxygen on side of the molecule and the positive charge of the hydrogen atoms is on the other side of the molecule. This is an example of polar covalent chemical bonding. However, because of linear shape, dipole moments cancel each other in BeF2( F−←Be−→F) and thus, it is non-polar. 
Related Theory Commonly, the electron configuration is used to describe the orbitals of an atom in its ground state, but it can also be used to represent an atom that has ionized into a cation or anion by compensating with the loss of or gain of electrons in their subsequent orbitals.