【简答题】下面哪些是重载的方法?()A. public void show(String name); public void show(int age); B. public void show(String name,int age); public void show(String name); C. public int show(String name); public double show(S...
【简答题】下面哪些是重载的方法?()A. public void add(double num1,double num2); public void add (int num1,int num2); B. public void add (int num1,int num2); public void add (int num1,int num2,int num3); C. public int add...
【简答题】下面哪些是类Circle重载的构造方法?A. public Circle(int r); public Circle(double r); B. public void show(String name); public void show(String name,int age); C. public Circle(int r); public Circle(); D. public vo...
【简答题】下面哪些是类Student重载的构造方法?()A. public Student(String name); public Student(String name,int age); B. public void Student(String name); public void Student(String name,int age); C. public Student(String name...
【简答题】下面哪些是重载的构造方法?A. public Student(String name); public Student(String name,int age); B. public void Student(String name); public void Student(String name,int age); C. public Student(String name,int age);...