java面试题精编文档.docVIP

  • 78
  • 0
  • 约3千字
  • 约 4页
  • 2019-03-28 发布于四川
  • 举报
JAVA工程师试题 选择题: 以下是关于HttpServlet类中doGet()、doPost()、doDelete()、doPut()、service()方法的描述。 HttpServlet中没有doDelete()这个方法。 doGet()、doPost()、service()这些方法都不是线程安全的。 客户端来的get请求将调用doGet(),客户端来的post请求将调用doPost()方法。客户端来的所有请求都调用service()方法。 以上说法都不对。 在服务器的网络编程中,解决会话跟踪的方法有: 使用Cookie。 使用URL重写。 使用隐藏的表单域。 以上方法都不能单独使用。 在以下哪些情况下session会话将结束生命周期 客户端关闭浏览器。 会话过期。 服务器调用了HttpSession的invalidate()方法。 客户端没有访问本应用而连接到别的应用上。 Which statement is true? A try statement must have at least one corresponding catch block. Multiple catch statements can catch the same class of exception more than once. An Error that might be thrown in

文档评论(0)

1亿VIP精品文档

相关文档