以下关于变量的定义,正确的是()。

9 阅读

以下关于变量的定义,正确的是()。

  • A: int a=10
  • B: b=2
  • C: int=20
  • D: int a;b=a+10

请帮忙给出正确答案和分析,谢谢!