when I declare and initialize a variable as static in my main activity and the activity gets destroyed. Can I still access the content of the variable?
For example t
If the process is killed then all static variables will be reinitialized to their default values.
This is mainly because, when you restart the application, a new instance is created and the static variable will be reinitialized.