单项选择题
Given an Http Session session. A Servlet Request request. And a Servlet Context context. Which retrieves a URL to /WEB INF/ my config.xml within a web application?()
A. session.get Resource (“/WEB-INF/myconfig.xml”)
B. request.get Resource (“/WEB-INF/myconfig.xml”)
C. context.get Resource (“/WEB-INF/myconfig.xml”)
D. get Class ().get Resource (“/WEB-INF/myconfig.xml”)
相关考题
-
单项选择题
Whichwilldeclareamethodthatisavailabletoallmembersofthesamepackageandbereferencedwithoutaninstanceoftheclass?()
A. abstract public void methoda ();
B. public abstract double inethoda ();
C. static void methoda (double dl) {}
D. public native double methoda () {}
E. protected void methoda (double dl) {} -
多项选择题
Whichthe threearevaliddeclarationsofafloat?()
A. float foo = -1;
B. float foo = 1.0;
C. float foo = 42el:
D. float foo = 2.02f:
E. float foo = 3.03d: -
多项选择题
Whichthe twodemonstrateencapsulationofdata?()
A. Member data have no access modifiers.
B. Member data can be modified directly.
C. The access modifier for methods is protected.
D. The access modifier to member data is private.
E. Methods provide for access and modification of data.
