摘要:
代码思路: 1.写4个方法:加减乘除;每个方法输入两个数据,并传出操作结果。 2.main()中利用for循环和switch进行用户交互,并退出循环。 1 import java.util.Scanner; 2 3 public class calculation { 4 public static 阅读全文
posted @ 2022-06-25 23:13
理暗
阅读(55)
评论(0)
推荐(0)
摘要:
public class People { public void run(){ System.out.println("run"); } } public class Student extends People{ public void go(){ System.out.println("go" 阅读全文
posted @ 2022-06-25 21:02
理暗
阅读(17)
评论(0)
推荐(0)

浙公网安备 33010602011771号