public class Class1 {
public static void main(String[] args) {
int myFirstNumber =20;
int mySecondNumber=10;
System.out.println(myFirstNumber+++mySecondNumber);
}
}
mySecondNumber should have been incremented to 11
, thus making the sum 31