How to maintain a particular value in boolean after the program has been stooped?
===

// I have created a class variable as follows

private boolean xyz = false;

// After which i am calling a method that will do some stuff and then change the value of the boolean variable to true. 

// Now the next time when I re-run the code the boolean value doesnot stay as true it goes back to false.

// I want it to stay as true even if i close my program and then run it again later.


Can anyone please help me out with this !!


Thanks !