第1题:
foo对象有att属性,那么获取att属性的值,以下哪些做法是可以的()。
A.foo.att
B.foo(“att”)
C.foo[“att”]
D.foo{“att”}
第2题:
Assume a tag handler extends TagSupport. Which is used within the tag handler to get an attribute “foo” that is in the application scope?()
第3题:
A、foo.att
B、foo[“att“]
C、foo{“att“}
D、foo[“a“+“t“+“t“]
第4题:
Given an EL function foo, in namespace func, that requires a long as a parameter and returns a Map,which two are valid invocations of function foo?()
第5题:
Which the three are valid declarations of a float?()
第6题:
foo()与 @foo()有什么分别?
第7题:
3. string foo = “ABCDE”; 4. foo.substring(3); 5. foo.concat(“XYZ”); 6. Type the value of foo at line 6.()
第8题:
A.${func(1)}
B.${foo:func(4)}
C.${func:foo(2)}
D.${foo(5):func}
E.${func:foo(“easy”)}
F.${func:foo(“3”).name}
第9题:
下列选项中,能有效地描述浮点数的有()。
第10题:
class Foo { private int x; publicFoo(intx) {this.x=x; } public void setX( int x) { this.x = x; } public int getX() { return x; } } public class Gamma { static Foo fooBar( Foo foo) { foo = new Foo( 100); return foo; } public static void main( String[] args) { Foo foo = new Foo( 300); System.out.print( foo.getX() + “-“); Foo fooFoo = fooBar( foo); System.out.print( foo.getX() + “-“); System.out.print( fooFoo.getX() + “-“); foo = fooBar( fooFoo); System.out.print( foo.getX() + “-“); System.out.prmt( fooFoo.getX()); } } What is the output of this program?()