how to use a global variable in a method 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;
}