Question: M , WUbject Urlented Programming with Class Quiz 1. Write down what will the output of this program be on the screen. public class Math{

 M , WUbject Urlented Programming with Class Quiz 1. Write down

M , WUbject Urlented Programming with Class Quiz 1. Write down what will the output of this program be on the screen. public class Math{ public static void main(String argv){ int a, b, c; a = 10; b = 20; if ( a + b >a-b){ System.out.println("The sum is greater than the difference"); else { System.out.println(" The difference is greater than sum"); System.out.println("a = " + a + ", b = " + b + ". The sun (a+b)); System.out.println("The difference = " + (a-b))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!