SpringFramework_1002

Last modified by superadmin on 2018-01-12 20:19

Back to Item Set

<p/>
<!-- START TestItem -->
<p/>
<div class="TestItem">
<div class="TestItemQuestion">1002 Question:\

Select a correct way to define <tt>java.util.Map\<Integer,String\></tt> property in Spring configuration file.

</div>

Select 1 correct answer(s)!

<p/>
<ol class="MTestItemChoices" type='A'>
<li>

{code}
<property name="secretKeys">
  <map>
      <entry key="281923" value="rabbit"/>
      <entry key ="337272" value="kitten"/>
  </map>
</property>
{code}

</li>
<li>

{code}
<property name="secretKeys">
  <map>
      <entry key="281923">rabbit</entry>
      <entry key ="337272">kitten</entry>
  </map>
</property>
{code}

</li>
<li>

{code}
<property name="secretKeys">
      <key>281923</key><value>rabbit</value>
      <key>337272</key><value>kitten</value >
</property>
{code}

</li>
<li>

{code}
<property name="secretKeys">
      <entry>281923,rabbit</entry>
      <entry>337272,kitten</entry >
</property>
{code}

</li>
</ol>
<p/>
<div class="TestItemSkill"><!--$skillid>Skill: $skilltitle</div>
<p/>
</div>
<!-- END MTestItem -->
<p/>
<p/>


{{/velocity}}

Tags:
Created by Alina Vasiljeva on 2012-12-29 18:17
    
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4 - Documentation