0 votes
in JAVA by
What’s the use of static variables?

1 Answer

0 votes
by

What’s the use of static variables?

Static variables are used for maintaining a common state of certain data which is modifiable and accessible by all instances of a class.

Related questions

0 votes
asked Oct 12, 2020 in JAVA by Robindeniel
0 votes
asked May 5, 2021 in JAVA by SakshiSharma
...