中科软面试卷试题含答案
中科软面试卷试题含答案
1 / 13
中科软面试卷试题含答案
中科软面试题答案
【篇一:中科软笔试题】
说说你对测试的理解
2、 你的长久的人生规划
3、 你对加班的见解?你以前长久加班?
4、 你r){ (c);
}
(); }
public static void main(string[] args) { // todo auto-generated method stub string str = abcdef; completearray((), 0);
}
}
【篇三:中科软信息科技有限企业面试题】
txt> 共 100 分,90 分钟
一、选择题 (前 10 题单项选择,后 5 题多项选择,共 15 题,每题 2 分,30
分)
1.下边对于 java 的表述有错误的选项是 ________ 。
a. java 中没有 sizeof 操作符,全部数据种类的长度都是确立的,
与平台没关。
b.在 java 中,局部变量不会被自动初始化,需要显式的赋初值。
c. java 中的 instanceof 运算符,能够判断一个对象能否属于某个
类的实例。
d.一个 java 文件里能够有多个 public 类,但 java 文件名一定和
包括 main 方法的那个 public 类名精准一致。
中科软面试卷试题含答案
中科软面试卷试题含答案
1 / 13
中科软面试卷试题含答案
java 中垃圾回收( gc )的表述有错误的选项是 _______ 。
中科软面试卷试题含答案
中科软面试卷试题含答案
2 / 13
中科软面试卷试题含答案
a.在 string str1 = hello;string str2 = str1;str1 = null; 中,对象
hello 不会被垃圾回收。
b.调用 ().gc() 会立刻启动垃圾回收线程对当
前途序进行垃圾回收。
c.调用 () 不过提示垃圾回收器进行垃圾回收操作,但
其实不保证 gc 线程立刻启动。
d.当垃圾回收器将要开释无用对象的内存时,先调用该对象的
finalize() 方法。
__________ 。 1 class person {
2public void printvalue(int i, int j) { }
3public void printvalue(int i){ }
4 }
5 public class teacher extends person {
6public void printvalue() { } 7public void printvalue(int i) {}
8public static void main(string args[]){
9 person t = new teacher();
10 (10);
11 } 12 }
a. 第 2 行的方法
b. 第 3 行的方法
c. 第 6 行的方法
d. 第 7 行的方法
接口中方法的修饰符能够为 _________ 。 a private b protected c sychronized d abstract
: ___________ 。 import .*; import .*; public class foo{
public static void main (string[] args){ string s;
(s= + s);
} }
a 代码获得编译,并输出 “s=”
b 代码获得编译,并输出 “s=null ”
中科软面试卷试题含答案
中科软面试卷试题含答案
1 / 13
中科软面试卷试题含答案
c 因为 string s 没有初始化,代码不可以编译经过
中科软面试卷试题含答案
中科软面试卷试题含答案
2 / 13
中科软面试卷试题含答案
d 代码获得编译,但捕捉到 nullpointexception 异样
6. servlet 接受恳求时,会最初调用 _____________ 。 a. service
b. doget c. dopost d. init
: string str1=new string(\java\); string str2=new str
中科软面试题含 来自淘豆网m.daumloan.com转载请标明出处.