阅读背景:

Java从一个多数组中选择一个随机项而不过度使用它?

来源:互联网 
    private String[][] questions = 
    {
        {"Sky's color is black", "false"},
        {"The earth is round.", "true"}, 
        {"Google is written in PHP", "false"},
        {"This program is written in JAVA", "true"}, 
        {"Daniel is white", "true"}
    };

    public void selectRandomQuestion() {

    }
    private String[][] questions = 
    {
     



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

分享到: