exam questions

Exam 2V0-72.22 All Questions

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

Exam 2V0-72.22 topic 1 question 41 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 41
Topic #: 1
[All 2V0-72.22 Questions]

Refer to the exhibit.

What is the id/name of the declared bean in this Java configuration class? (Choose the best answer.)

  • A. clientServiceImpl (starting with lowercase “c”)
  • B. clientServiceImpl (starting with uppercase “C”)
  • C. clientService (starting with lowercase “c”)
  • D. ClientService (starting with uppercase “C”)
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Tolo01
7 months, 2 weeks ago
Selected Answer: C
C is the best answer
upvoted 2 times
...
zakupower
1 year ago
Selected Answer: C
id in this case is taken from the method name, also even when Component Scanning is creating beans it decapitalizes the name of the class. To get a bean with capital first letter you need to specify the name yourself.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago