中国工商银行软件开发中心上海研发部面试题 可编辑
中国工商银行软件开发中心上海研发部面试题
题目1:编号为123456789的火车经过如下轨道从左边入口处移到右边出口处(每车只能进临时轨道M一次)
-----------------------------------------------------
987654321 -------------------\ /-----------------------------
| |
| |
| |
| |
| |
|M|
| |
| |
| |
| |
|_|
按照从左向右的顺序,下面的结果不可能是______
A 123876549 B 321987654 C 321456798
D 789651234
题目2:如果M只能容纳4列车。上面选项因该选哪个______
题目3:3 3 8 8用四则运算符得出24
题目5:数a和b,如何空间消耗最小交换a b中的数
题目6:For the following description about OOP, which is right?
1 An object can inherit the feature of another object;
银行面试2 A sub class can contain dditional attribute or behaviors.3 Encapsulation is used to hide as MUCH as possible about the inner working of the interface.4 Encapsulation prevents the program from being independent 5 polymorphism allows the methods have different signature but with same name. A 12 B 14 C 23 D 35 E 45
发布评论