參加百度Android的面試經歷和麪試題

學識都 人氣:1.52W

上週末,參加了百度Android的面試.分筆試和麪試,其中面試分一面二和三面.這個流程走下來,差不多一天多了.

參加百度Android的面試經歷和麪試題

關於筆試

以下題目不一定按筆試時順序,是麥洛憑藉回憶,儘量將筆試的題目還原(筆試共有10道題目)

基礎題,輸入結果是什麼?

public static void main(String[] args) {

String str = new String(“abc”);

char[] ch = {‘a’,'b’,'c’};

change(str,ch);

t(str+” “);

t(ch);

}

public static void change(String str,char[] ch){

str = “gbc”;

ch[0] = ‘g’;

}

Map,Hashset,ArrayList以及LinkedList集合的區別,以及各自的用法

vity的啓動模式有哪幾種

4.介紹Handler機制

5.線程考覈,解析sleep,wait,join,yield方法,以及notify 和notifyAll是如何控制線程同步的

oid 存儲方式以及各至用法

View 中BaseAdapter的使用和優化;在ListView中的item放置一個按鈕,如何使用按鈕對不能的item響應不同的事件

8.編程題: