TechAhead interview question

based on android and java.also some puzzels ques