某大公司Android面试题,JAVA面试题

来源:互联网 发布:ajax获取json中的数据 编辑:程序博客网 时间:2024/04/28 08:18
1,Print prime numbers
print the prime number from 2 to N .(reduce the time complexity as much as possible)
Pick your language C C++ Java Objective-C

2,Write a program which prints the numbers from 1 to N ,each on a new line.But for multiples of three print"Fizz" instead of the number 3 and for the multiples of five print "Buzz".For numbers which are multiples of both three and five print "FizzBuzz".Pick your language C C++ Java Objective-C


3,When custom a view group in android,normally which methods should be overridden,and why?


4,Now we need to show a list of restaurant in FanTong application,each restaurant has a logo from URL,such as 'http//fantong.me/images/restaurant_logo.jpg'; 
Describe the step of showing them in a ListView.


5,List and describe the design patterns you used when developing android app.



0 0