A+    A−    B  
Home
Algebra
Math Games
  • Decimals in Space
  • Integers in Space
  • Fraction Balls
  • Math Man
  • Number Balls
  • Geometry
    Interactive
    Trigonometry
    Teacher Resources
    Teaching Jobs USA
    Good Links

    What comes first ++ or +?

    Arithmetic precedence

    What is happening in the code below?

    	public static  void main(String[] args) {
    			int a2 = 3;
    			int b2 = 4;
    			int result = a2+++b2;
    			System.out.println("result   "+ result );
    			System.out.println("a2 "+ a2);		System.out.println("result   "+ result );
    	}
    	
    	
    >

    Top