发布于 2015-01-06 07:55:26 | 138 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Java并发编程示例,程序狗速度看过来!

Java程序设计语言

java 是一种可以撰写跨平台应用软件的面向对象的程序设计语言,是由Sun Microsystems公司于1995年5月推出的Java程序设计语言和Java平台(即JavaEE(j2ee), JavaME(j2me), JavaSE(j2se))的总称。


本文为大家整理的是一份思迁数码科技Java软件工程师笔试真题,英文题,感兴趣的同学参考下。

SeaChange公司成立于1993 年,为纳斯达克上市公司。作为全球最大的视频服务器及互动视频应用系统供应商,SeaChange视频服务器系统已广泛应用于广播及宽带视频领域。在全球 范围内,SeaChange已安装超过15000套专业视频服务器系统,同时提供超过170 万个VOD 并发流。在互动视频业务最发达的北美地区,SeaChange公司的市场占有率超过70%。2003 年8 月SeaChange公司在上海成立了其在美国以外唯一的研发中心-思迁数码科技(中国)有限公司,同时在北京设立了办事处。作为SeaChange在海 外唯一的全资研发中心,SeaChange中国为全球客户及合作伙伴提供ITV 系统开发、集成与售后服务。目前,在满足中国地区电视和网络运营商业务需求的基础上,SeaChange中国已经为整个亚太地区和欧洲地区提供了全面的广 播和宽带视频业务服务。

选择题

1:Which statements about Java code security are not true?

A.The bytecode verifier loads all classes needed for the execution of a program.

B.Executing code is performed by the runtime interpreter.

C.At runtime the bytecodes are loaded, checked and run in an interpreter.

D.The class loader adds security by separating the namespaces for the classes of the local file system from those imported from network sources.

2:What is the result when you compile and run the following code?

public class Test

{

public void method()

{

for(int i = 0; i < 3; i++)

{

System.out.print(i);

}

System.out.print(i);

}

}

Choices:

What is the result when you compile and run the following code?

public class Test

{

public void method()

{

for(int i = 0; i < 3; i++)

{

System.out.print(i);

}

System.out.print(i);

}

}

Choices:

A.0122

B.0123

C.Compilation error

D.None of these

3:

Give the following code:

public class Example{

public static void main(String args[] ){

int l=0;

do{

System.out.println(“Doing it for l is:”+l);

}while(--l>0)

System.out.println(“Finish”);

}

}

Which well be output:

Give the following code:

public class Example{

public static void main(String args[] ){

int l=0;

do{

System.out.println(“Doing it for l is:”+l);

}while(--l>0)

System.out.println(“Finish”);

}

}

Which well be output:

A.Doing it for l is 3

B.Doing it for l is 1

C.Doing it for l is 2

D.Doing it for l is 0

4:Math.round(11.5)等於多少?

A.11

B.12

C.11.5

D.none

5:

What will happen when you attempt to compile and run the following code?

int Output = 10;

boolean b1 = false;

if((b1 == true) && ((Output += 10) == 20))

{

System.out.println("We are equal " + Output);

}

else

{

System.out.println("Not equal! " + Output);

}

Choices:

What will happen when you attempt to compile and run the following code?

int Output = 10;

boolean b1 = false;

if((b1 == true) && ((Output += 10) == 20))

{

System.out.println("We are equal " + Output);

}

else

{

System.out.println("Not equal! " + Output);

}

Choices:

A.Compilation error, attempting to perform binary comparison on logical data type

B.Compilation and output of "We are equal 10".

C.Compilation and output of "Not equal! 20".

D.Compilation and output of "Not equal! 10".

6:

What will happen when you attempt to compile and run the following code?

(Assume that the code is compiled and run with assertions enabled.)

public class AssertTest{

public void methodA(int i){

assert i >= 0 : methodB();

System.out.println(i);

}

public void methodB(){

System.out.println("The value must not be negative");

}

public static void main(String args[]){

AssertTest test = new AssertTest();

test.methodA(-10);

}

}

What will happen when you attempt to compile and run the following code?

(Assume that the code is compiled and run with assertions enabled.)

public class AssertTest{

public void methodA(int i){

assert i >= 0 : methodB();

System.out.println(i);

}

public void methodB(){

System.out.println("The value must not be negative");

}

public static void main(String args[]){

AssertTest test = new AssertTest();

test.methodA(-10);

}

}

A.it will print -10

B.it will result in AssertionError showing the message-“the value must not be negative”.



相关阅读 :
思迁数码科技Java软件工程师笔试真题
深圳博安达软件2014笔试题-Java软件工程师
二道java软件开发笔试题目
上海立派信息技术有限公司Java开发工程师笔试题目
优捷Java开发工程师笔试题目
上海安硕2014校招笔试题-java开发工程师
java开发工程师笔试题汇总
德邦物流2013年JAVA开发工程师笔试题(图片版)
2014年JAVA认证考试笔试题目
润信Java开发工程师面试题
富士施乐笔试题笔试-java工程师
2014北京某公司笔试题-java工程师
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务