首页 11-java软件工程师面试题

11-java软件工程师面试题

举报
开通vip

11-java软件工程师面试题11-java软件工程师面试题 ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- 姓名: 面试日期与时间: 年 月 日 : 为了更全面地了解你的专业能力,请你尽力回答以下问题,谢谢合作~ 1. SQLSERVER有numeric类型自动序列递增~请简述一下ORACLE中是如何实现序列自动自增功能的。 2. 写出ORACLE中的日期函数。 3. 简述一下STRUCTS的组...

11-java软件工程师面试题
11-java软件工程师面试 快递公司问题件快递公司问题件货款处理关于圆的周长面积重点题型关于解方程组的题及答案关于南海问题 ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- 姓名: 面试日期与时间: 年 月 日 : 为了更全面地了解你的专业能力,请你尽力回答以下问题,谢谢合作~ 1. SQLSERVER有numeric类型自动序列递增~请简述一下ORACLE中是如何实现序列自动自增功能的。 2. 写出ORACLE中的日期函数。 3. 简述一下STRUCTS的组成和处理过程。 4. What will be the output when you compile and execute the following program. public class Base{ private void test() { int i = 1; switch (i) { case 0: System.out.println("zero"); break; case 1: System.out.println("one"); case 2: System.out.println("two"); default: System.out.println("default"); } } static public void main(String[] a) { new Base().test(); } } Select most appropriate answer. a) one b) one, default c) one, two, default d) default e) Compilation Error. switch cannot take an int as an argument 5. For what value of i, the following program will output "Less than 20" public class Base{ private void test() { int i ; if(i < 10) System.out.println("Less than 10"); else if ( i < 20) System.out.println("Less than 20"); else System.out.println("Not less than 10"); } static public void main(String[] a) { new Base().test(); } ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------- ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- } 第1页, 共 页 Select all appropriate answers. a) 0 b) 10 c) 11 d) 19.999; e) (int)19.99 f) None 6. For what value of i, the following program will output "Not Greater than 10" public class Base{ private void test() { int i ; if(i > 10) System.out.println("Greater than 10"); else if ( i < 10) System.out.println("Less than 10"); else if ( i > 20) System.out.println("Greater than 20"); else System.out.println("Not Greater than 10"); } static public void main(String[] a) { new Base().test(); } } Select most appropriate answer. a) 0 b) 10 c) 11 d) 100 e) None 7. The method test() throws an IOException. How do you specify that ? import java.io.*; import java.net.*; public class Base{ private void test() { String a = null; if(a == null) //throws IOException } } Select all valid answers a) private void test() throw IOException b) private void test() throw new IOException("") c) private void test() throws IOException() d) private void test() throws IOException e) private void test() raise IOException ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------- ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- 答题区: 答题人签名: 日期:20 年 月 日 第2页, 共 页 答题区: ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------- ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- 答题人签名: 日期:20 年 月 日 第 页, 共 页 答案: 1. 通过设置序列 2. Datetime timestamp 3. MVC model view contro 4. b 5. c d 6. b 7. d ----------------------------精品word文档 值得下载 值得拥有---------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------
本文档为【11-java软件工程师面试题】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_005190
暂无简介~
格式:doc
大小:19KB
软件:Word
页数:0
分类:企业经营
上传时间:2017-10-09
浏览量:12