System.setProperty and System.getProperty

后端 未结 4 1713
太阳男子
太阳男子 2020-12-23 21:09

I didn\'t understand when I used System.setProperty to define a parameter, where the data is stored?

If say that I used System.setProperty

4条回答
  •  Happy的楠姐
    2020-12-23 21:39

    The data is stored in memory as long as your JVM instance is up. It it really isn't related to the file which called the methods.

    How are you running your application? Is it a web application stored in an application sever? Can you post a sample of your code?

提交回复
热议问题