Which of the following statements are TRUE regarding @Autowiring annotation?

@Autowiring annotation can only be used at properties of a class.

@Autowiring annotation can be used with either properties or setter methods but cannot be used with constructors.

@Autowiring annotation can be used with properties or setter or with constructors.

@Autowiring annotation should be used at class level.

Verified Answer
Correct Option - c

To get all Infosys Certified Cloud Native Developer Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in