【题目1】用数组结构实现大小固定的队列和栈 队列:先进先出 栈:先进后出 【使用固定数组实现栈的功能】 public static class ArrayStack{private Integer[] arr;private Integer index;public Arra……