摘要: 1、application对象的常用方法: 2、application、request、pageContext、session对象的作用域 index.jsp : 参考文档: 1)https://www.cnblogs.com/mark5/p/11075493.html 2)https://wenk 阅读全文
posted @ 2019-09-26 20:28 Qi-BJ 阅读(714) 评论(0) 推荐(0) 编辑
摘要: class Node { // 节点内容 private int data; // 下一个节点 private Node next; public Node(int value) { this.data = value; } // 为节点追加节点 public Node append(Node node) { ... 阅读全文
posted @ 2019-09-26 15:47 Qi-BJ 阅读(164) 评论(0) 推荐(0) 编辑
摘要: class MyQueue { int elements[]; public MyQueue() { elements = new int[0]; } // 入队 public void add(int element) { // 创建一个新的数组 int[] newArr = new int[eleme... 阅读全文
posted @ 2019-09-26 14:49 Qi-BJ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: class MyStack { // 栈的底层我们使用数组来存储数据 int[] elements; public MyStack() { elements = new int[0]; } // 压入元素 public void push(int element) { // 创建一个新的数组 in... 阅读全文
posted @ 2019-09-26 14:12 Qi-BJ 阅读(245) 评论(0) 推荐(0) 编辑