i++ vs. ++i prefix operator and postfix operator
code name How ++i prefix increment operator i = i+1;return i; i++ postfix increment operator final int t = i; i = i+1; return t; –i prefix decrement operator i = i-1;return i; i– postfix decrement operator final int t = i; i = i-1; return t; int x = 2; int y = 2; System.