In some of application we need to implement logout functionality this is one of very easy way to clear all history in your application of activity.

🙂