1 / 5
文档名称:

JAVA助理工程师笔试题答 - 副.docx

格式:docx   页数:5
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

JAVA助理工程师笔试题答 - 副.docx

上传人:zhangbing6987 2015/11/9 文件大小:0 KB

下载得到文件列表

JAVA助理工程师笔试题答 - 副.docx

相关文档

文档介绍

文档介绍:Java笔试题
第一部分:数据结构
    }
}
 
    staticboolean foo(char c) {
       (c);
       returntrue;
    }
       }
    }
}
What is the result?
A. ABDCBDCB
B. ABCDABCD
C. Compilation fails.
D. An exception is thrown at runtime.
 
三、1. class A {
2. protected int method1(int a, int b) { return 0; }
3. }
Which two are valid in a class that extends class A? (Choose two)
A. public int method1(int a, int b) { return 0; }
B. private int method1(int a, int b) { return 0; }
C. private int method1(int a, long b) { return 0; }
D. public short method1(int a, int b) { return 0; }
E. static protected int method1(int a, int b) { return 0; }
lass B extends A{
    /**
     ****@paramargs
     */
   
}
 
四、 1. public class Outer{
2. public void someOuterMethod() {
3. // Line 3
4. }
5. public class Inner{}
6. public static void main( String[]argv ) {
7. Outer o = new Outer();
8. // Line 8
9. }
10. }
Which instantiates an instance of Inner?
A. new Inner(); // At line 3
B. new Inner(); // At line 8
C. new (); // At line 8
D. new (); // At line 8//new Outer().new Inner()
五、,?分别是什么?
 
 
六、描述Struts体系结构?对应各个部分的开发工作主要包括哪些?
七、XML包括哪些解释技术,区别是什么?
 
八、JSP有哪些内置对象和动作?它们的作用分别是什么?
 
九、打印出所有的"水仙花数",所谓"水仙花数"是指一个三位数,其各位数字立方和等于该数本身。例如:153是一个"水仙花数",因为153=1的三次方+5的三次方+3的三次方。
程序实现
十、将一个正整数分解质因数。例如:输入90,