Computer Science, asked by shuchigowda772, 3 months ago

(n) Give the output of the following method:
public static void main(Strng args[])
{
int a = 5;
a++;
System.out.println(a);
a- = (a- -) - (- - a);
System.out.println(a);
}​


shuchigowda772: anyone say the answer
shuchigowda772: stepwise

Answers

Answered by pk6126569
0

(n) Give the output of the following method:

public static void main(Strng args[])

{

int a = 5;

a++;

System.out.println(a);

a- = (a- -) - (- - a);

System.out.println(a);

}

Similar questions