Youarebuildingadatingservicewebsite.Part&eYouarebuildingadatingservicewebsite.Partoftheformtosubmitaclient’sprofileisagroupIIofradiobuttonsfortheperson’shobbies:20.<inputtype=’radio’name=’hobbyEnum’value=’HIKING’>Hiking<br>21.<inputtype=’radio’name=’hobby

题目
Youarebuildingadatingservicewebsite.Part&e

Youarebuildingadatingservicewebsite.Partoftheformtosubmitaclient’sprofileisagroupIIofradiobuttonsfortheperson’shobbies:

20.<inputtype=’radio’name=’hobbyEnum’value=’HIKING’>Hiking<br>

21.<inputtype=’radio’name=’hobbyEnum’value=’SKIING’>Skiing<br>

22.<inputtype=’radio’name=’hobbyEnum’value=’SCUBA’>SCUBADiving

23.<!--andmoreoptions-->

Aftertheusersubmitsthisform,aconfirmationscreenisdisplayedwiththesehobbieslisted.Assumethatanapplication-scopedvariable,hobbies,holdsamapbetweentheHobbyenumeratedtypeandthedisplayname.

WhichELcodesnippetwilldisplayNthelementoftheuser’sselectedhobbies?()


相似考题
参考答案和解析
参考答案:B