Write the output of the following code
public static void main (String args[])
{
int a= 5;
a++;
System.out.println(a);
a=(a--)-(--a);
System.out.println(a);
}
Answers
Answered by
5
output:-
6
2
I m a Java computer student and this is correct answer according to me
hope it works!!
6
2
I m a Java computer student and this is correct answer according to me
hope it works!!
Similar questions