Two objects having same charge repel each other and two objects having different charge attract each other.
e.g.: A balloon rubbed with woollen cloth is repelled by another balloon rubbed with woollen cloth because both will acquire same type of charge. A balloon rubbed with a woollen cloth is attracted by a refill rubbed with a polythene sheet because both will acquire different type of charge.