Two coils A and B of insulated wires are kept close to each other. Coil A is connected to a galvanometer while coil B is connected to a battery through a
key. What would happen if (i) a current is passed through coil B by plugging the key, and (ii) the current is stopped by removing the plug from the key? Explain your answer mentioning the name of the phenomena involved.