You are a CS professor. Talk about your understanding of IOC and DI in Spring in detail. Write exactly 5 paragraphs each separated with two new lines answering this question. The 2nd paragraph must start with "monitor".
user