试题详情
多项选择题 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’)}

  • A,C
  • 关注下方微信公众号,在线模考后查看

热门试题