摘要: // MethodOverload.java// Using overloaded methods public class MethodOverload { public static void main(String[] args) { System.out.println("The squar 阅读全文
posted @ 2023-09-22 12:58 liuxuechao 阅读(3) 评论(0) 推荐(0) 编辑
摘要: //生成1-100内的整数 Random r1 = new Random(); int num1 = r1.nextInt(0, 100); import java.util.*; public class TestRandom{ public static void main(String[] a 阅读全文
posted @ 2023-09-22 12:52 liuxuechao 阅读(1) 评论(0) 推荐(0) 编辑