当前位置: 技术问答>java相关
错误怎么改?谢谢
来源: 互联网 发布时间:2017-04-08
本文导语: 根据生产者 消费者 模型编写4个人打牌的程序,4个人按一定顺序出牌,我的程序如下: class card{ String daxiao[]={"Ace","Two","Three","Four","Five","Six", "Seven","Eight","Nine","Ten","Jack","Queen","King"}; String huase[]={...
根据生产者 消费者 模型编写4个人打牌的程序,4个人按一定顺序出牌,我的程序如下:
class card{
String daxiao[]={"Ace","Two","Three","Four","Five","Six",
"Seven","Eight","Nine","Ten","Jack","Queen","King"};
String huase[]={"Diamond","Club","Hearts","Spades"};
String cards[][];
int k=0;
card(){
for(int i=0;i
class card{
String daxiao[]={"Ace","Two","Three","Four","Five","Six",
"Seven","Eight","Nine","Ten","Jack","Queen","King"};
String huase[]={"Diamond","Club","Hearts","Spades"};
String cards[][];
int k=0;
card(){
for(int i=0;i