Infosys Interview Question

Difference between the activity and fragments?