Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Exam 2V0-72.22 All Questions
Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

VMware VCP-AM Develop 2022 2V0-72.22 Question # 9 Topic 1 Discussion

2V0-72.22 Exam Topic 1 Question 9 Discussion:
Question #: 9
Topic #: 1

Refer to the exhibit.

2V0-72.22 Question 9

How can a Spring Bean be created from this LegacySingleton class?


A.

Call LegacySingleton.getInstance() from within a @Bean method and return the instance.


B.

Return an instance of LegacySingleton using the new keyword from a @Bean method.


C.

It is not possible without modifying the LegacySingleton class, the constructor must be public.


D.

Modify the LegacySingleton class by adding the @Autowired annotation to the instance variable.


Get Premium 2V0-72.22 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.