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.

...