可学答题网 > 问答 > SCWCD(310-083)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Click the Exhibit b


Click the Exhibit button. The Appliance class is a Singleton that loads a set of properties into a Map from an external data source.Assume: An instance of the Appliance class exists in the application-scoped attribute, appl The appliance object includes the name property that maps to the value Cobia The request- scoped attribute, prop,has the valuename.  Which two EL code snippets will display the string Cobia?()

  • A${appl.properties.name}
  • B${appl.properties.prop}
  • C${appl.properties[prop]}
  • D${appl.properties[name]}
  • E${appl.getProperties().get(prop)}
  • F${appl.getProperties().get(’name’)}
参考答案
参考解析:
分类:SCWCD(310-083)题库