0

I have used a static variable in a Class and I want that the value of this variable is kept unchanged after restart of the jvm. The idea is to store this value. Can someone help me ?

Im89
  • 139
  • 1
  • 10

1 Answers1

0

You restart the jvm every thing will be clear.So you can't get the values from static variables. If you use database then only you get the values without failing.

Sana
  • 360
  • 3
  • 13