java创建栈 import java.util.Stack; Stack<Integer> s = new Stack<Integer>(); 只能装整形的栈 Stack<Character> s =