Horje
postfix operator in java Code Example
postfix operator in java
sout(X++ * ++X * X++)

1) first postfix operator: X++ 
   1.a) X++ "replaced" by 10
   1.b) X incremented by one: 10+1=11
   At this step it should look like:  System.out.println(10 * ++X * X++), X = 11;

2) second POSTfix operator: X++ 
   2.a) X++ "replaced" by 11
   2.b) X incremented by one: 11+1=12
   At this step it should look like:  System.out.println(10 * ++X * 11), X = 12;

3) prefix operator: ++X
   3.a) X incremented by one: 12+1=13
   3.b) ++X "replaced" by 13
   At this step it should look like:  System.out.println(10 * 13 * 11), X = 13;

4) evaluating 10*13 = 130, 130*11 = 1430.




Java

Related
como crear objeto java Code Example como crear objeto java Code Example
spigot heal player Code Example spigot heal player Code Example
java get class by string name Code Example java get class by string name Code Example
duckduckgo Code Example duckduckgo Code Example
Mila Kunis Code Example Mila Kunis Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7