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

Posted by: Pdfprep Category: CoreSpringV3.2 Tags: , ,

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

Leave a Reply

Your email address will not be published.