国际事业部Java岗位笔试题

非常感谢你抽出宝贵时间参加国际事业部java岗位笔试测试,完成该测试预计时间45min,请注意不要切出考试界面,系统会默认提交哦~~预祝考试顺利~~
姓名
    ____________
已知 byte A=(byte)0x7F, byte B=(byte)0x80, byte C=(byte)(A/3),byte D=(byte)(B/3), 请问变量C和D打印出来结果分别是多少?
    ____________

以下两种表述方式是否可以正确编译,若不正确分别有什么问题?

(1)short s1 = 1; s1 = s1 + 1; 

(2)short s1 = 1; s1 += 1;

    ____________
请说出&和&&的区别。
    ____________
try {}里有一个 return 语句,那么紧跟在这个 try 后的 finally {}里的 code会不会被执行,什么时候被执行,在 return 前还是后?
    ____________
swtich 是否能作用在 byte 上,是否能作用在 long 上,是否能作用在 String上?分别在什么条件下可以。
    ____________
接口是否可继承接口? 抽象类是否可实现(implements)接口? 抽象类是否可继承实体类(concrete class)?分别需要什么条件?
    ____________
用最有效率的方法算出 2 乘以 8 等於几?
    ____________
使用快速排序方法对 a[ 0 :n- 1 ]排序
    ____________
编写一个截取字符串的函数,输入为一个字符串和字节数,输出为按字节截取的字符串。 但是要保证汉字不被截半个,如“我ABC”4,应该截为“我AB”,输入“我ABC 汉DEF” ,6,应该输出为“我ABC”而不是“我ABC+汉的半个”。(能写出大致代码即可)
    ____________
将字符串abcdefg反转,要求不能使用stringBuffer 的 reverse() 方法,写出代码
    ____________
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 DF

The parent of the current directory

The current DF

The ADF of the current active application

The MF

The figure below is an Example of a logical structure

Question:

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_________


    ____________

12题 | 被引用0次

模板修改
使用此模板创建