阅读背景:

将多个Java对象导入类中?

来源:互联网 

Our CS class was assigned to make a program that imports two java objects into a class which is supposed to return a face value of a set of dice. The Die class generates a random number and prints the value onto the screen. The testDie class imports two die object arrays with one having six sides the other having 15. The program only prints out the value of the dice with six sides (it's an array of dice btw) and doesn't print out the other 15 sided die. Can someone explain to me what I'm doing wrong? Thanks.Our CS class was assigned to make a program tha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: