1、Java软件工程师面试题姓名:面试日期与时间:年月日:为了更全面地了解你的专业能力,请你尽力回答以下问题,谢谢合作!1. SQLSERVER有numeric类型自动序列递增,请简述一下ORACLE中是如何实现序列自动自增功能的。2. 写出ORACLE中的日期函数。3. 简述一下STRUCTS的组成和处理过程。4. What will be the output when you compile and execute the following program.public class Baseprivate void test() int i = 1;switch (i) case 0: S
2、ystem.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, defaultc) one, two, defaultd) defaulte) Compilation Error. switch
3、 cannot take an int as an argument5. For what value of i, the following program will output Less than 20public class Baseprivate void test() int i ;if(i 10)System.out.println(Less than 10);elseif ( i 10)System.out.println(Greater than 10);elseif ( i 20) System.out.println(Greater than 20);elseSystem
4、.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) 100e) None7. The method test() throws an IOException. How do you specify that ?import java.io.*;import .*;public class Baseprivate void test() String a = null;if(
5、a = null)/throws IOExceptionSelect all valid answers a) private void test() throw IOExceptionb) private void test() throw new IOException()c) private void test() throws IOException()d) private void test() throws IOExceptione) private void test() raise IOException答题区:答题人签名:日期:20 年 月 日第2页,共页答题区:答题人签名:日期:20 年 月 日第页,共页答案:1. 通过设置序列2. Datetime timestamp3. MVC model view contro4. b5. c d6. b7. d