Tell me two ways to clear the back stack of Activities when a new Activity is called using intent?

Submitted by: Muhammad
The first approach is to use a FLAG_ACTIVITY_CLEAR_TOP flag. The second way is by using FLAG_ACTIVITY_CLEAR_TASK and FLAG_ACTIVITY_NEW_TASK in conjunction.
Submitted by: Muhammad

Read Online Android Developer Job Interview Questions And Answers