Frage im Vorstellungsgespräch bei Bharti Airtel

How does @Autowired loosely couple the object?

Antwort im Vorstellungsgespräch

Anonym

7. Juli 2017

I told him about autowiring and how spring maintains the bean definition in xml and how beans are created during the start of application and then supplied to the required controller or class. He said how is it loosely coupled ??? i am asking this??? and then i told him that now we don't need to instantiate the object using new operator which creates a new instance of object, in place we can use the bean already created during start by autowiring. But he was not satisfied.