Memory cells generated in the primary response to antigen A give rise to a quick secondary response of antibodies to the same antigen.
A different antigen (B) elicits a primary response.