贡献一个mathworks application support engineer的新鲜面经

原帖地址:一亩三分地

2015(4-6月) 码农类 硕士 全职@ Mathworks – 校园招聘会 – Phone/Skype 技术电面 |Other
今天中午面的mathworks application support engineer,之前HR发邮件来说会问oop, operating system的一些概念,果然问题都没有超出这个范围。一上来面试官先问我想选c++还是java 楼主果断选了java. visit 1point3acres.com for more.

1. what is oop? what are the advantages of oop?
2. how to import packages in java? what if you import a package twice?
3. what is polymorphism? have you ever used polymorphsim in a project? Describe it.
4. how to implement a queue using stacks?
5. what is java generics?
6. what is the difference between abstract class and interface?
7. difference between final and finally
8. what is mutex?
9. difference between int and integer in java

10. is java pass by reference or pass by value?
11. can java garbage collection manually? how?
12. difference between JDK and JRE.
13. what is static? 然后写了如下代码让我说输出是什么
void func() {
static int x = 0;
printf(“%d\n”, x);
x = x + 1;
}

int main(int argc, char *argv[]) {
func();
func();
func();
return 0;
}
14. 关于java里的super关键字,可惜我记不太清楚了,大概写一下,如果我写错了,希望大家斧正
super class A{
foo();
}
class B extends A{. 1point3acres.com/bbs
foo();
bar();
}

int main{
A var = new B();
var.foo();
var.bar();
}
问这个foo和bar调用的是A的还是B的
15.Compare the time complexity of insertion and deletion between dynamic array and linkedlist. visit 1point3acres.com for more.
16. what is hashtable? what is the potential issue of hashtable?
这个楼主没懂,就问了一句,他引导我从“garbage collection”上面去考虑,可惜楼主还是没想到
面完之后查了一下,似乎是想考hashtable当key被回收而value没有被回收的时候,会发生内存泄露。
17.difference between hashtable and hashmap in java

还有一些小题目记不起来了,都是些基本题,没让写代码,没有问数学。面经上的题抓到了不少,而且可能因为楼主是女生的原因吧,题目似乎比地里其他人的简单。面试官是三哥,口音很好懂,人也很nice。可惜楼主还是有些题答错了,不知道最后会不会进到下一轮。
希望能帮到大家。