4月22日,Stacks,每日20行。
来源:互联网 发布:linux apache cgi 编辑:程序博客网 时间:2024/06/05 10:30
import java.util.*;public class Stacks { static String[] months = {"January","February","March","April","May","June","July","August","September","October","November","December"}; public static void main(String[] args) { Stack stk = new Stack(); for(int i = 0; i < months.length; i++){ stk.push(months[i] + " "); } System.out.println("stk=" + stk); stk.addElement("The last line"); System.out.println("element 5 = " + stk.elementAt(5)); System.out.println("popping elements:"); while(!stk.empty()){ System.out.println(stk.pop()); } }}
0 0
- 4月22日,Stacks,每日20行。
- 6月4日,每日20行。
- 4月20日,TestVector,每日20行。
- 4月4日,Decode,每日20行。
- 3月4日,simple_window,每日20行。
- 4月1日,StringEqualTest,每日20行。
- 4月2日,StringEqualTest1,每日20行。
- 4月3日,CharCode,每日20行。
- 4月5日,StringBufferPass,每日20行。
- 4月6日,StringBufferModify,每日20行。
- 4月7日,RemoveHZ,每日20行。
- 4月8日,DemogetProperties,每日20行。
- 4月9日,GetCurrentTime,每日20行。
- 4月10日,MyThread,每日20行。
- 4月11日,MyThread,每日20行。
- 4月12日,TestMyThread,每日20行。
- 4月13日,TestThread,每日20行。
- 4月14日,TestJoin,每日20行。
- kali漏洞利用之BeeF
- 安装Python
- hdu 1176 免费馅饼 dp
- 设计模式--策略模式Strategy
- NYOJ -216 A problem is easy
- 4月22日,Stacks,每日20行。
- 剑指offer-面试题 17:合并两个排序的链表
- Hibernate总结要点
- 信息资源管理总结篇
- 测试
- centos6 安装完成后是英文界面,如何更改成中文界面
- cvte在线测评题总结
- 学习淘淘商城第三十四课(在业务逻辑中添加缓存)
- Leetcode 之 TwoSum