1、新建一个类:TestVectorTraverse.java
3、使用Iterator迭代器和while循环遍历vector
5、使用Vector的forEach函数配置lambda表达式遍历vector