I\'m talking about programming in android.
In early days I thought that, finish()
closes current activity and go back to the previous
Actually there is no difference if you have only one activity. However, if you have several activities on the stack, then:
System.exit(0)
is called in ActivityB, then the application will be killed and started immediately with only one activity ActivityA