global variavbles in ja=va code example
Example: how to declare a public 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;
}