Question: What output is produced by the following code fragment? if num = 25, MAX = 50: if (num > = MAX) System.out.println (apple): System.out.println (orange):

What output is produced by the following code fragment? if num = 25, MAX = 50: if (num > = MAX) System.out.println ("apple"): System.out.println ("orange"): System.out.println ("pear"): A., Nothing will be printed out. B. pear C. orange pear D. apple orange
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
