C++ has a handy feature where static variables can be localized to a code block. Does java have something like it?
a better explanation of local-static in c++
https://www.learncpp.com/cpp-tutorial/static-local-variables/
3 messages · Page 1 of 1 (latest)
C++ has a handy feature where static variables can be localized to a code block. Does java have something like it?
a better explanation of local-static in c++
https://www.learncpp.com/cpp-tutorial/static-local-variables/
⌛ This post has been reserved for your question.
Hey @oblique socket! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.