What is the output produced by the following lines:
—————————————————————
int n = 2;
n–;
System.out.println(“n is ” + (n+1));
Expert Answer
An answer will be send to you shortly. . . . .
What is the output produced by the following lines:
—————————————————————
int n = 2;
n–;
System.out.println(“n is ” + (n+1));
An answer will be send to you shortly. . . . .