Object A will have a positive charge since it is losing electrons. And object B would have a negative charge since its gaining electrons. For example, magnesium atom is object A and chloride atom is object B. Magnesium atom gives an electron away to the chloride atom. Therefore the chloride atom will have a negative charge of one and magnesium has a positive charge of 1.
The answer is A. Object A will have a positive charge.