GiventheJSPcode:10.<html>11.<body>12.<jsp:useBeanid=’customer’class=’com.example.Customer’/>13.Hello,${customer.title}${customer.lastName},welcome14.toSqueakyBeans,Inc.15.</body>16.</html>WhichthreetypesofJSPcodeareused?()
A. Javacode
B. Templatetext
C. Scriptingcode
D. Standardaction
Expressionlanguage
classWrench2{intsize;publicstaticvoidmain(String[]args){Wrench2w=newWrench2();w.size=9;Wrench2w2=go(w,w.size);System.out.print(w2.size);}staticWrench2go(Wrench2wr,ints){s=7;returnwr;}}结果为:()
A. 7
B. 9
C. 编译失败
D. 输出结果不可预料
现有方法来自于java.lang.Object和java.lang.Thread哪两个方法必须在同步上下文环境中调用()
A. run()
B. join()
C. wait()
D. notify()
可能抛出SecurityException异常的操作是哪些?()
A. 访问本地文件系统
B. 打开除运行Applet的主机外的另一个主机的Socket
C. 在运行环境中执行另一个程序
D. 试图读取不存在的文件