---
# System prepended metadata

title: 048 TestInDecrementOP.java

---

# 048 TestInDecrementOP.java

public class TestInDecrementOP {

public static void main(String[] args) {
    int num1 = 3, num2 = 4;
    System.out.println(num1++); 
    System.out.println(++num1); 
    System.out.println(--num2); 
    System.out.println(num2--); 
    System.out.println(num1);   
    System.out.println(num2);  
}

}

