Computer Applications
Related Questions
Rewrite the following statements without using shorthand operators.
a. p /= q
b. p -= 1
c. p *= q + r
d. p -= q - rDetermine the output of the following program.
public class Test { public static void main(String[] args) { int a = 1, b = 2; System.out.println("Output1: " + a + b); System.out.println("Output2: " + (a + b)); } }