2007-02-02 ランダム生成 java ※0-9まででランダムな値を生成 都合上String型 Random r = new Random(); String strRandom = String.valueOf(r.nextInt(10));