The immune system has a memory?

Answer is Yes. Both T-Cell and B-Cell have memory