title: A variable to be stored in Java permanently, access and edit it later
body: <p>Suppose there is a variable </p>
  
  <pre><code>int a = 10;
  </code></pre>
  
  <p>when I run the program again and access the data it's the same when I access it somehow. And then I am able to change it, suppose to</p>
  
  <pre><code>a = a + 6;
  </code></pre>
  
  <p>And after that, unless until I change it to something else, the value remain the same.</p>
  
  <p>Is there anyway to do something like that?</p>
  
  <p>Note: Don't want to use files, and or external database.</p>