单选题 下列方法定义中,正确的是{{U}} {{/U}}。
  • A.int x(int a,b)
  • B.double x(int a,int b) {return(a-b);){int w:w=a-b:}
  • C.double x(a,b)
  • D.int x (int a,int b) {return b}{return a-b;}
【正确答案】 D
【答案解析】