JSP EL 表达式:${user.userName}执行效果等同于( )
A: %=user.getUserName()%
B: %user.getUserName();%
C:
D: % user.userName;%
A: %=user.getUserName()%
B: %user.getUserName();%
C:
D: % user.userName;%
举一反三
- 下面哪个表达式不能获取user对象的username属性( )。 A: ${user['username'] } B: ${user[username] } C: ; D: ${user.username }
- 在示例代码中,用方法引用替代语句Comparator[User] comparator = Comparator.comparing(u -> u.getUserName())正确的是()。 A: Comparator<User> comparator = Comparator.comparing(uses::getUserName) B: Comparator<User> comparator = Comparator.comparing(User::getUserName) C: Comparator< > comparator = Comparator.comparing(uses::getUserName) D: Comparator< > comparator = Comparator.comparing(User::getUserName)
- JSP EL 表达式:${user.userName}执行效果等同于( )
- 删除用户的同时删除用户所拥有的全部对象的正确命令是() A: drop user username cascade B: drop user username C: delete user username D: delete user username cascade
- 下面选项中,能够更新user表中数据的SQL语句是() A: update into user set id = 'u001'; B: update user set id = 'u001' and username='jack'; C: update user set username='jack' where id = 1; D: update into user set id = 'u001', username='jack';