下载此文档

深圳市易思博信息技术有限公司面试题.doc


文档分类:医学/心理学 | 页数:约13页 举报非法文档有奖
1/13
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/13 下载此文档
文档列表 文档介绍
1:
给出下面的代码片断。。。下面的哪些陈述为错误的?   
1) public void create() {   
2)    Vector myVect;   
3)    myVect = new Vector();   
4) }  
给出下面的代码片断。。。下面的哪些陈述为错误的?
1) public void create() {
2) Vector myVect;
3) myVect = new Vector();
4) }




2:public class Parent {
int change() {…}
}
class Child extends Parent {
}
Which methods can be added into class Child?
int change(){}
int chang(){}
int change(){}

3:
String s=”Example String”;Which operation is not legal?  
String s=”Example String”;Which operation is not legal?
i=();
[3]=”x”;
short_s=();
t=”root”+s;
4:Which code fragments would correctly identify the number of arguments passed mand line to a Java application, exclude the name of the class that is being invoke.
count = ;
count = -1;
count=0; while(args[count]!=null) count++;
count=0;while (!(args[count].equals(“”))) count++;
5:软件生命周期的瀑布模型把软件项目分为3个阶段、8个子阶段,以下哪一个是正常的开发顺序?
、开发阶段、运行阶段
、开发阶段、编码阶段
、编码阶段、维护阶段
、编码阶段、测试阶段
6:
What will happen when you attempt pile and run the following code?    
  
int Output = 10;   
  
boolean b1 = false;    
  
if((b1 == true) && ((Output += 10) == 20))   
  
{   
  
   ("We are equal " + Output);   
  
}    
  
else  
  
{   
  
   ("Not equal! " + Output);   
  
}    
  
Choices:  
What will happen when you attempt pile and run the following code?
int Output = 10;
boolean b1 = false;
if((b1 == true) && ((Output += 10) == 20))
{
("We are equal " + Output);
}
else
{
("Not equal! " + Output);
}
Choices:
pilation error, attempting to perform parison on logical data type
pilation and output of "We are equal 10".
pilation and output of "

深圳市易思博信息技术有限公司面试题 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数13
  • 收藏数0 收藏
  • 顶次数0
  • 上传人xxq93485240
  • 文件大小296 KB
  • 时间2018-12-01