HI Team.
Had an interview with Master Card. Please find below questions asked in interview (Android Profile)
- Introduce yourself
- Explain Oops concept.
- Abstract vs Interface (when to use)
- Array list vs linked list (when to use)
- Is hash map thread safe/ synchronized ? (Hashmap vs Hash set)
- Underlying data structure of hashmap/hashset.
- Final keyword in java (final method/class/variable)
- Difference between equals and == operator in java.
- Why is string immutable ?
- String vs String Builder ?
- How to create an Immutable class in Java?
- Explain Fragment life cycle.
- When does onActivityCreated get call ?
- Back stack management in fragment.
- Life cycle invocation based question wrt add/replace transaction.
- Explain launch mode with examples.
- Scenario based question. What would be the behaviour after launching the existing activity wrt difference launch mode ?
- Explain Image library used in your project
- Benefit of coil over glide.