摘要:
方法的重载主要是结局同一个方法,但参数不同的问题 举一个例子,比较两个整数的大小 和比较两个浮点数的大小 public class Testmax { /** 主方法 */ public static void main(String[] args) { int i = 5; int j = 2; 阅读全文
posted @ 2020-02-10 12:58
lucky********
阅读(205)
评论(0)
推荐(0)
摘要:
HelloWorld public class HelloWorld { public static void main(String[]args) { System.out.println("helloworld"); } } 阅读全文
posted @ 2020-02-10 12:32
lucky********
阅读(81)
评论(0)
推荐(0)
浙公网安备 33010602011771号