单项选择题
在Java语言中,如果你有下面的类定义: Abstract class Shape{ Abstract void draw(); } class Square extendeds Shape{} 如果你试图编译上面的代码会发生()。
A.一切成功编译 B.Shape可以编译,Square不能编译 C.Square可以编译,Shape不能编译 D.Shape,Square都不能编译
在Java中,如果要在字符串类型对象s="java",中找出字母v出现的位置(即位置2),可使用()。A.mi...
单项选择题在Java中,如果要在字符串类型对象s= "java",中找出字母„v‟出现的位置(即位置2),可使用()。
A.mid(2,s); B.charAt(2); C.s.indexOf(’’v’’); D.indexOf(s,’’v’’);
在J2EE中,在Bean中addCustomListener和removeCustomListener的作用分...
单项选择题在J2EE 中,在Bean中addCustomListener和removeCustomListener的作用分别是()。
A.注册监听者;注销监听者 B.注册事件源;注销事件源 C.注册自定义事件机制;注销自定义事件机制 D.注册bean;注销bean
下列语句正确的有()A.<%@ include file=”head.jsp”%> B.<% String u...
单项选择题下列语句正确的有()
A.<%@ include file=”head.jsp”%> B.<% String url=”head.jsp”;%><%@ include file=”url”%> C.<%@ include file=”head.jsp”?name=”lovo”%> D.<%String companyName=”lovo”;%>%@include file”head.jsp”?name=‟companyName”%