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
yes the value which you set in it remains persisted even after the activity closes but not after the application closes.