java小程序之随机产生一个从0-100之间的整数,判断是否是质数
package learnjava;import java.util.Random;public class Demo9 { public static void main(String []args) { int num; Random random = new Random(); num = random.nextInt(100); System.out.pri...