1.

26. Determine the output of the following program. public class PredictOutput3{public static void main(String args[])int a = 2, b = 2, c = 2;System.out.println("Output 1:" + (a + 2 < b + c));System.out.println("Output 2: " + (a + 2 < (b + c)));}} Guys plz help me ❤​

Answer» FALSE in both caseExplanation:because a=2, b=2,c=2case 1:    a+2


Discussion

No Comment Found