国际事业部Java岗位笔试题

非常感谢你抽出宝贵时间参加国际事业部java岗位笔试测试,完成该测试预计时间45min,请注意不要切出考试界面,系统会默认提交哦~~预祝考试顺利~~

Q1:姓名

填空1

Q2:已知 byte A=(byte)0x7F, byte B=(byte)0x80, byte C=(byte)(A/3),byte D=(byte)(B/3), 请问变量C和D打印出来结果分别是多少?

填空1

Q3:以下两种表述方式是否可以正确编译,若不正确分别有什么问题?(1)short s1 = 1; s1 = s1 + 1;(2)short s1 = 1; s1 += 1;

填空1

Q4:请说出和的区别。

填空1

Q5:try {}里有一个 return 语句,那么紧跟在这个 try 后的 finally {}里的 code会不会被执行,什么时候被执行,在 return 前还是后?

填空1

Q6:swtich 是否能作用在 byte 上,是否能作用在 long 上,是否能作用在 String上?分别在什么条件下可以。

填空1

Q7:接口是否可继承接口? 抽象类是否可实现(implements)接口? 抽象类是否可继承实体类(concrete class)?分别需要什么条件?

填空1

Q8:用最有效率的方法算出 2 乘以 8 等於几?

填空1

Q9:使用快速排序方法对 a[ 0 :n- 1 ]排序

填空1

Q10:编写一个截取字符串的函数,输入为一个字符串和字节数,输出为按字节截取的字符串。 但是要保证汉字不被截半个,如“我ABC”4,应该截为“我AB”,输入“我ABC 汉DEF”,6,应该输出为“我ABC”而不是“我ABC+汉的半个”。(能写出大致代码即可)

填空1

Q11:将字符串abcdefg反转,要求不能使用stringBuffer 的 reverse() 方法,写出代码

填空1

Q12:Master File (MF)is unique mandatory file containing access conditions and optionally DFs and/or EFs. A Dedicated File (DF) allows for a functional grouping of files. It can be the parent of DFs and/or EFs. DFs are referenced by file identifiers. An Application DF (ADF) is a particular DF that contains all the DFs and EFs of an application. An Elementary File (EF)is a file containing access conditions and data and no other files.Selecting a DF, an ADF or the MF sets the current directory. After such a selection there is no current EF. Selecting an EF sets the current EF and the current directory remains the DF, ADF or MF, which is the parent of this EF. The current EF is always a child of the current directory. Only the ADF of the current application can be selected by FID.Any application specific command shall only be operable if it is specific to the Current Directory. The following files may be selected, by File Identifier(FID) referencing, from the last selected file:Any file which is an immediate child of the current directory :Any DF which is an immediate child of the parent of the current DFThe parent of the current directoryThe current DFThe ADF of the current active applicationThe MFThe figure below is an Example of a logical structureQuestion:According to the figure above, please give the valid selections when the Last selected file is MF, DF4, and EF4?根据下面的图片,当当前选择的文件分别是以下文件时,可以从当前的文件选到哪些文件?MF: __ADF1, DF1, EF1, EF-DIR__________DF4: __MF, ADF1, DF3, EF5, EF6_________EF4: __MF, ADF1, DF3, DF4, DF5_________[图片]

填空1
问卷网
国际事业部Java岗位笔试题
关于
1年前
更新
0
频次
12
题目数
分享
问卷网
有问题?问问AI帮你修改 改主题:如咖啡问卷改为奶茶问卷