我可以像这样转换数组:
String [] [] friend = new String [] [] {{{robert, marie}, {jhony, eva}, {mike, laura}, {adrian, rachel}, {kristen, anthony}};
随机选择两对情侣,结果是这样的:
String [] [] friend = new String [] [] {{{robert, marie}, {adrian, rachel}};
以后这样做:
String [] friendfin = new String [] {{robert, marie, adrian, rachel}};
任何人都可以帮助我使用此代码...谢谢