Download SpringSource.CoreSpringV3.2.Test4Prep.2020-01-15.57q.tqb

Download Exam

File Info

Exam Core-Spring (based on Spring 3.2)
Number CoreSpringV3.2
File Name SpringSource.CoreSpringV3.2.Test4Prep.2020-01-15.57q.tqb
Size 195 KB
Posted Jan 15, 2020
Download SpringSource.CoreSpringV3.2.Test4Prep.2020-01-15.57q.tqb

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

Select which statement is true with respect to constructor injection with Spring (select one)


  1. Multiple parameters can be dependency injected into a constructor
  2. Using XML configuration, the constructor-arg element may be omitted if the constructor requires a single parameter
  3. One single bean cannot mix constructor injection with setter injection
  4. All of the above
Correct answer: A



Question 2

Consider the following complete configuration sample:
<bean class="rewards.internal.RewardNetworkImpl"> 
        <property name="accountRepository" ref="accountRepository"/> 
</bean> 
<bean class="rewards.internal.account.JdbcAccountRepository"/> 
Which of the following statements is true? (Select one)


  1. This configuration is correct
  2. This configuration is not valid because the first bean should have an id. Its value should be "rewardNetwork".
  3. This configuration is not valid because the second bean should have an id. Its value should be "accountRepository".
  4. Both (b) and (c)
Correct answer: C



Question 3

Which of the following statements about the FactoryBean interface is NOT true? (select one)


  1. A FactoryBean can be used to generate Spring beans of any type
  2. The Spring configuration <property name="someValue" ref="myFactoryBeanImpl"/> will ALWAYS inject the instance of the FactoryBean implementation
  3. FactoryBean is a Spring interface
  4. Factory objects used in Spring do not necessarily have to implement the FactoryBean interface
Correct answer: B









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files