试题详情
- 单项选择题 Given this fragment in a servlet: 23.if(req.isUserInRole("Admin")) { 24.// do stuff 25.} And the following fragment from the related Java EE deployment descriptor: 812.
813. 900.Admin 814.Administrator 815.901. What is the result?()Admin 902.Administrator 903. A、Line 24 can never be reached.
B、The deployment descriptor is NOT valid.
C、If line 24 executes, the user’s role will be Admin.
D、If line 24 executes, the user’s role will be Administrator.
E、If line 24 executes the user’s role will NOT be predictable.
- D
关注下方微信公众号,在线模考后查看
热门试题
- 1. public&ensp
- 以下的Java程序代码中,错误的行是()
- Which statemen
- Which is
- class TestApp{
- class java&ens
- ()意味着一个操作在不同的类中可以有不同
- Which three
- 下面的哪些声明是合法的?()
- 下面哪段程序能够正确的实现了GBK编码字
- Given the&ensp
- 33. try {
- 11.public class Com
- A collection&en
- 1. class
- 下面哪种布局方式只影响控件的高度,而不影
- 用sin(x)≈x-x^3/3!+x^5
- 写一段代码,把List容器中的数字元素“
- public class&e
- 现有: &ens