A.Factory模式 B.Prototype模式 C.Proxy模式 D.Observer模式
单项选择题EJB组件在什么地方执行?()
A.web容器 B.应用服务器 C.EJB容器 D.以上都对
单项选择题<sp:forward>和HttpServletResponse.sendRedirect()之间的主要区别在于()。
A.forward执行在客户端而sendRedirect()执行在服务器端 B.forward执行在服务器端而sendRedirect()执行在客户端 C.两个方法是一样的 D.以上都不对
单项选择题下列关于注释语句的描述中,正确的一项是()
A.以//开始的是多行注释语句 B.以/*开始,*/结束的是单行注释 C.以/**开始,*/结束的是可以用于生成帮助文档的注释语句 D.以/**开始,*/结束的是单行注释语句
单项选择题Java语言有许多优点和特点,下列项中,()反映了Java程序并行机制的特点。
A.安全性 B.多线程 C.跨平台 D.可移植
单项选择题FileInputStream构造函数的有效参数是()
A.无参数 B.InputStream对象 C.File对象 D.以上所有对象
单项选择题下面哪些类可以被继承?()
A.java.lang.Number B.java.lang.Double C.java.lang.Math D.java.lang.StringBuffer
单项选择题如果存在事务上下文,方法调用使用当前事务上下文,如果不存在,则不创建新的事务上下文。这种事务属性在EJB中应该配置为:()
A.Required B.Supports C.Mandatory D.Never
单项选择题在面向对象数据模型中,子类不但可以从其超类中继承所有的属性和方法,而且还可以定义自己的属性和方法,这有利于实现()。
A.可移植性 B.可扩充性 C.安全性 D.可靠性
单项选择题以下哪个方法不改变线程的状态?()
A.start() B.run() C.isAlive() D.sleep()
单项选择题若某线性表最常用得操作是存取任一指定序号的元素和在最后进行插入和删除运算,则利用()存储方式最节省时间。
A.顺序表 B.双链表 C.带头结点的双循环链表 D.单循环链表