单项选择题
以下Java语句中,String string =“1234567”;string =str.subString(1,3);执行后string中的值为()。
A.“23”
B.“234”
C.“123”
D.“12”
点击查看答案&解析
相关考题
-
单项选择题
假设在helloapp应用中有一个HelloServlet类,它在web.xml文件中的配置如下:()
A.http://localhost:8080/HelloServlet
B.http://localhost:8080/helloapp/HelloServlet
C.http://localhost:8080/helloapp/org/javathinker/hello
D.http://localhost:8080/helloapp/hello -
问答题
简述HttpServlet中,public service(),protected service(),doGet(),doPost()4个方法的调用过程。 -
单项选择题
利用三层结构搭建某网上书店系统,设计用户登陆界面,如果你是设计人员,你将在三层结构的()中实现。
A.模型层
B.视图层
C.数据访问层
D.业务逻辑层