以下max()方法要从传入的两个数据中找出较大的数据返回,则正确定义该方法的代码是( )。 A. int max(int a,int b){ if(a>b) return a ; else if(b>a) return b ; } B. int max(int a,int b){ if(a>b) return a ; else return b ; } C. int max(int a, b){ if(a>b) return a ; else return b ; } D. int max(int a,int b){ if(a>b) return a ; return b ; }