Java - Static Keyword
What will be the output of the following code?
public class Test {
static int count = 0;
static void increment() {
count++;
}
public static void main(String[] args) {
increment();
increment();
System.out.println(count);
}
}