ATT prepaid data plan doesn't apply to iPhone (转载)# Apple - 家有苹果
b*y
1 楼
这次google电面的问题跟版上面经风格很不一样,基本上都是Java语言的问题,感觉问
题并不难,自己觉得回答得也不错,但还是悲剧了。整个面试过程进行比较慢,但大部
分时间都是我在等他,每个问题他都想extend一下,但每次他都要想一会儿再问。
面经
1, equal and hashcode method in java, what happens if hashcode and equal
method are not consistent. How the equal method behaves in Object class? If
I want to rewrite the Object class, I want to implement equals method to use
reflection and compare all the fields in the class, is this a good idea?
Why?
2, If in my class, my hashcode method return same value for two unequa
题并不难,自己觉得回答得也不错,但还是悲剧了。整个面试过程进行比较慢,但大部
分时间都是我在等他,每个问题他都想extend一下,但每次他都要想一会儿再问。
面经
1, equal and hashcode method in java, what happens if hashcode and equal
method are not consistent. How the equal method behaves in Object class? If
I want to rewrite the Object class, I want to implement equals method to use
reflection and compare all the fields in the class, is this a good idea?
Why?
2, If in my class, my hashcode method return same value for two unequa