我們先來看下運行后的效果: 接下來我們分享給大家全部代碼:
1、3個白球 3個紅球 6個黑球 隨機拿出8個球,算出所有結果 public class Ball{ public static void main(String[] args){ i