How to make a variable a global variable in Java code example
Example: global variable in java
public class Example {
public static int a;
public static int b;
}
public class Example {
public static int a;
public static int b;
}