单选题 1分

下列变量定义中,正确的是

  • A. boolean k = 1;
  • B. boolean f = 0 ;
  • C. char ch = "12" ;
  • D. double d = 2.5;

你可能感兴趣的试题