すいません自己解決しました。
もしもこれで間違っていたら指摘してください。

System.out.println("vectorの中身");

for(int x=0;x<1;x++)
{
System.out.println(v.lastElement());
}