Quizlet interview question

Android specific question, was asked to implement based on skeleton