Question 1
What will be the output of the program given below? public class OperationCheck { static long j; static void perform(float i) { boolean b; do { b = i == (j) | performing(4); b = i<10 || performing(8); }while (!b); } static boolean performing(float i) { j += i; return true; } public static void main(String[] args) { perform(0); System.out.println("j = " + j); } }