文本描述
姓名: 面试日期与时间: 年 月 日 :
为了更全面地了解你的专业能力,请你尽力回答以下问题,谢谢合作!
SQLSERVER有numeric类型自动序列递增,请简述一下ORACLE中是如何实现序列自动自增功能的。
写出ORACLE中的日期函数。
简述一下STRUCTS的组成和处理过程。
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
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();
}
}
第1页, 共 页
Select all appropriate answers.
a) 0 b) 10 c) 11
d) 19.999; e) (int)19.99 f) None
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