package dierci;
public class Card {
String num [] =new String [] {"1","2","3","4","5","6","7","8","9","10","j","Q","K","A"};
String face [] =new String [] {"spades","clubs","hearts","diamonds"};
String arr [] =new String[] {"joker1","joker2"};
public void card1(){
for(int i = 0;i<face.length;i++);
{
for(int j = 0;j<num.length;j++);
System.out.println("一副普通扑克牌:"+face[i]+num[j]);
}
}
public void card2() {
for(int k =0;k<=arr.length;k++);{
System.out.println(arr[k]);
}
}}
添加回答
举报
0/150
提交
取消