下面选项中,可以和int max(int a,int b,double c)方法构成重载关系的是( ) A、double max(int a,int b) B、void max(int a,double c,int b) C、double max(double a,double b) D、int max(int x,int y,double z)
收起
重载的特征:方法名相同,参数列表不同;只关注这两个点,其他无需关注! 所以 A,B,C都对
报告相同问题?