Accenture Interview Question

Android basic stuff, logical thinking