title: Using a class to store static data in Java?
body: <p>Is it a bad idea creating a separate class and use it as a storage which consists only of static data variables?</p>
  
  <p>I am currently developing an app for android, but the question is general for Java.</p>
  
  <p>In case of android, I am moving across activities and I would like to store some global/static flags/varibles in that separate class and being able to access them from any activity I want.</p>
  
  <p>PS. The data is required only for the session time.</p>