<prefix:myTag a=foo b=bar c=baz />
<prefix:myTag attributes={foo,bar,baz} />
<prefix:myTag jsp:attribute a=foo b=bar c=baz />
<prefix:myTag><jsp:attribute name=a>foo</jsp:attribute><jsp:attribute name=b>bar</jsp:attribute><jsp:attribute name=c>baz</jsp:attribute>. </prefix:myTag>
第1题:
Assume a tag handler extends TagSupport. Which is used within the tag handler to get an attribute “foo” that is in the application scope?()
第2题:
Given the security constraint in a DD:// 101.
第3题:
A.<prefix:myTaga="foo"b="bar"c="baz"/>
B.<prefix:myTagattributes={"foo","bar","baz"}/>
C.<prefix:myTagjsp:attributea="foo"b="bar"c="baz"/>
D.<prefix:myTag><jsp:attributename="a">foo</jsp:attribute><jsp:attributename="b">bar</jsp:attribute><jsp:attributename="c">baz</jsp:attribute>.</prefix:myTag>
第4题:
Which statements concerning the relationships between the following classes are true?() class Foo { int num; Baz comp = new Baz(); } class Bar { boolean flag; } class Baz extends Foo { Bar thing = new Bar(); double limit; }
第5题:
Which code determines the int value foo closest to a double value bar?()
第6题:
Which JSP standard action can be used to import content from a resource called foo.jsp?()
第7题:
public class Test { public static void main( String[] args) { String foo = args[1]; String bar = args[2]; String baz = args[3]; System.out.println(“baz = “ + baz); } } And the command line invocation: java Test red green blue What is the result?()
第8题:
关于以下初始化序列的执行结果的说法正确的是( )。 int index=1; int[] foo=new int[3]; int bar=foo[index]; int baz=bar+index;
A.baz的值为0
B.baz的值为1
C.编译通过,但产生异常
D.编译不能通过
第9题:
public class Test { public static void main (String[]args) { String foo = args[1]; String bar = args[2]; String baz = args[3]; System.out.printIn(“baz = ” + baz); } } And the output: Baz = 2 Which command line invocation will produce the output?()
第10题:
What is wrong with the following code?() class MyException extends Exception {} public class Qb4ab { public void foo() { try { bar(); } finally { baz(); } catch (MyException e) {} } public void bar() throws MyException { throw new MyException(); } public void baz() throws RuntimeException { throw new RuntimeException(); } }