Technical Discussion :: Java
Home > Technical Interview Q&A > Java > Discussion
Varun Kumar Rai
13 Oct, 2019 1:07 PM
'static' is a keyword available in Java. The variable that is declared as static, is called as class variable. All instances share the same copy of the variable.
Eg.: static int y=1;