while loop not running until meeting completion condition
问题 I have created a while loop which can't seem to run properly. it calls a method from another class which helps change the stop condition for my program. It calls the method about 3 - 8 times on average and never reaches the stopping condition, however it stops. public class useExample { public static void main(String[] args) { Example ex = new Example(); long [] result; long a = 0; long b = 0; long c = 0; long d = 0; long e = 0; int count = 0; int a1 = 1; int b1 = 2; int c1 = 3; int d1 = 4;