Is there a way in Java to set a value of a variable in one class and be able to access from another one

前端 未结 0 956
感动是毒
感动是毒 2021-02-05 14:40

Suppose I have a RestController and in my post method, I want to set the value of something globally or something, so that I can access it in another class further down the road

相关标签:
回答
  • 消灭零回复
提交回复
热议问题