What does inversion of control mean in java?

It’s very simple.

It’s what you should do.

You don’t do it.

Let the system do it. For example, When you get an object, you often need to create an instance with new. If you use inversion of control, you don't need to do this. You only need to configure it in the configuration file xml. The system will help you new

Inversion of control is also called dependency injection, which means to inject the things that should be used

in advance and use them directly next time

It’s not new every time

This is common enough

I hope you can understand