【单选题】
在application对象中用()方法可以获得application对象中的所有变量名。
A、getServerInfo
B、nextElements()
C、removeAttribute
D、getRealPath
A、getServerInfo
B、nextElements()
C、removeAttribute
D、getRealPath
A、Application对象用于在多个程序中保存信息 B、Application对象用来在所有用户间共享信息,但不可以在Web应用程序运行期间持久地保持数据。 C、getAttribute(Stringname)方法返回由name指定的名字application对象的属性的值。 D、getAttributeNames()方法返回所有application对象的属性的名字。 E、setAttribute(Stringname,Objectobject)方法设置指定名字name的application对象的属性值Object