范文无忧网面试笔试笔试回答

思迁数码科技Java软件工程师笔试真题

12月18日 编辑 fanwen51.com

[2015KPMG毕马威笔试经验]先说一下我背景吧,我是上海复旦大学旁边的某个知名财经大学的学生,专业是工商管理,成绩一般般,在工商管理班是属于倒数的,不过放到年级上就是前30%的水平,所以填成绩排名时从来只...+阅读

选择题1:Which statements about Ja 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 work sources.2:What is the result when you pile 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 pile 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.0122B.0123C.pilation errorD.None of these3: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(--l0)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(--l0)System.out.println(Finish);}}Which well be output:A.Doing it for l is 3B.Doing it for l is 1C.Doing it for l is 2D.Doing it for l is 04:Math.round(11.5)等於多少?A.11B.12C.11.5D.none5:What will happen when you attempt to pile 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 pile 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.pilation error, attempting to perform binary parison on logical data typeB.pilation and output of We are equal 10.C.pilation and output of Not equal! 20.D.pilation and output of Not equal! 10.6:What will happen when you attempt to pile and run the following code?(Assume that the code is piled 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 pile and run the following code?(Assume that the code is piled 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 -10B.it will result in AssertionError showing the message-the value must not be negative.

延伸阅读:

2015重庆移动校招笔试经验重庆移动重庆地区的校招终于是告一段落了,今天刚好闲下来,想想移动校招这一路走来,还是有所收获,自己也是从前辈的帖子获取了很多信息,所以在这里也跟大家分享下自己一路走来的经...

2015天职国际网测笔试经验我坐标南京,非211非965学校,投的也是南京所。一直很中意天职国际,实习的时候和天职是同一座大厦,那时候就很希望能去楼上工作,所以宣讲会的话特地从江宁跑去浦口去听,还算幸运,简历...

2015中国银行笔试经验分享今年中行笔试时间好早啊!是所有银行中最早的一个了,楼主之前准备了两个月,今天考完的感觉就是、、、都白看了= =超级难!好吧可能有些复习的好的觉得还行吧,废话不多说,直接上。...

衣恋2014笔试经验30日晚广州在中大笔试。 什么文具用品都不用带,现场会发(其实只有一支笔而已,要用修正带可以跟工作人员借)。 hr一上来就跟我们说,这次笔试非常难,甚至有人一道题都做不对什么的...

安永2014年笔试经验分享关于考几道 怎么考 时间巴拉巴拉的就不赘述了 就简单说一下我记得的题目吧 Verbal 比较多以下哪个正确或者以下哪个错误的题目 比较麻烦 难度递增 一篇文章2道题 1. GPS定位...

欢聚时代2017校招产品经理笔试经验今年的笔试是在华工五山校区举行的,风尘仆仆的从大学城赶过去啊!去了之后按照短信的通知找教室,教室里有笔试技术的也有笔试产品的,没有固定位置,但按照一列技术类一列非技术类...

中行2015校园招聘笔试经验我2014年11月1日下午1点30到4点30参加了中国银行2015校招笔试,上午在仙林南邮参加江苏电信笔试,2个小时的时间内赶到了江宁南医参加了中行的考试。以下是考试内容和时间段,都是...

百度2015软件开发工程师笔试百度的题总体来说不难,都是一些基础的题。好像近几年都有这样的趋势,计算机网络,操作系统,数据库,每个基础课出一道题。接着是三道程序设计题。最后是系统设计题。所以好好看计算...

笔试的几个面试技巧笔试的几个面试技巧1.科学答卷拿到试卷后,首先应通览一追,了解题目的多少和难易程度,以便掌握答题的速度,然后根据先易后难的原则排出答题的顺序、先攻相对简单的题,后攻难题。这...

推荐阅读
图文推荐
栏目列表