public class MainClass {
public static void main(String args[]) {
Integer intObject, intObject2;
int i;
intObject = 100;
System.out.println("Original value of iOb: " + intObject);
++intObject;
System.out.println("After ++iOb: " + intObject);
intObject2 = intObject + (intObject / 3);
System.out.println("iOb2 after expression: " + intObject2);
i = intObject + (intObject / 3);
System.out.println("i after expression: " + i);
}
}
Original value of iOb: 100
After ++iOb: 101
iOb2 after expression: 134
i after expression: 134