BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware Exam 2V0-72.22 Topic 11 Question 42 Discussion

Actual exam question for VMware's 2V0-72.22 exam
Question #: 42
Topic #: 11
[All 2V0-72.22 Questions]

Which two statements are true regarding bean creation? (Choose two.)

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Harley
5 months ago
Hmm, that's a good point. I can see how @Component could be used to create beans implicitly.
upvoted 0 times
...
Jarod
5 months ago
I'm with Ilene, options B and D make more sense to me. @Component and @Bean can both create beans.
upvoted 0 times
...
Ilene
5 months ago
I disagree, I believe it's option B and D. @Component annotation can also create beans implicitly.
upvoted 0 times
...
Harley
5 months ago
I think options A and D are correct. You can create beans explicitly using @Autowired and @Bean annotations.
upvoted 0 times
...
Leonora
5 months ago
I agree with Judy, and for statement E, I don't think @Autowired is used to create beans, it is used for dependency injection.
upvoted 0 times
...
Judy
6 months ago
I don't think statement C is correct, because @Bean is used to create beans explicitly, not implicitly.
upvoted 0 times
...
Cecily
6 months ago
That's a good point, @Component does create beans implicitly. But what about statement C and E?
upvoted 0 times
...
Leonora
6 months ago
I believe statement B is also true, as @Component annotation can create beans implicitly.
upvoted 0 times
...
Cecily
6 months ago
I think statements A and D are true because @Autowired and @Bean are commonly used for creating Spring beans.
upvoted 0 times
...

Save Cancel