class operation {
public static void main(String args[])
{
int i=5,j=5;
System.out.println("The value of i after the prefixed increment :" + ++i);
System.out.println("The value of j after the postfixed increment:" +j++);
}
}
public static void main(String args[])
{
int i=5,j=5;
System.out.println("The value of i after the prefixed increment :" + ++i);
System.out.println("The value of j after the postfixed increment:" +j++);
}
}
No comments:
Post a Comment