public class Stack1 { int stack_elements[] = new int[10]; int top_element; Stack1() { top_element = -1; } void push (int i){ if (top_element == 9) System.out.println("Stack is full"); else stack_elements[++top_element] = i; (Please tell me why if I write top_element + 1 won't give me the same result as ++top_element) } int pop() { if (top_element < 0) { System.out.println("Stack is empty"); return 2; } else return stack_elements[top_element--]; } }