Is static variable intialise at code side at each and every
is static variable intialise at code side at each and every change?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ali tuncerRank #1,499 · 1.1K reputationPosted Nov 10, 2016, 5:04 PM EST
Static variables are shared across all instances of a class.
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Nov 10, 2016, 7:04 PM EST