当前位置: 技术问答>java相关
可不可以用Vector的数组
来源: 互联网 发布时间:2015-09-17
本文导语: import java.util.*; public class TryVector { public static void main(String[] args) { Vector[] va=new Vector[2];//可以这样定义么? String[] firstnames={"jack","jill","john","joan","jeremiah","josephine"}; for (int i=0;i
import java.util.*;
public class TryVector
{
public static void main(String[] args)
{
Vector[] va=new Vector[2];//可以这样定义么?
String[] firstnames={"jack","jill","john","joan","jeremiah","josephine"};
for (int i=0;i
public class TryVector
{
public static void main(String[] args)
{
Vector[] va=new Vector[2];//可以这样定义么?
String[] firstnames={"jack","jill","john","joan","jeremiah","josephine"};
for (int i=0;i