PdfPrep.com

Which of the following statements is true? (Select one)

Which of the following statements is true? (Select one)

Consider the following complete configuration sample:

<bean class="rewards.internal.RewardNetworkImpl">

<property name="accountRepository" ref="accountRepository"/>

</bean>

<bean class="rewards.internal.account.JdbcAccountRepository"/>
A . This configuration is correct
B . This configuration is not valid because the first bean should have an id. Its value should be "rewardNetwork".
C . This configuration is not valid because the second bean should have an id. Its value should be "accountRepository".
D . Both (b) and (c)

Answer: C

Exit mobile version