在Java中,如何声明一个布尔变量x并赋值为true?( ) 选项:A:boolean x = true;B:boolean x == true;C:boolean x = 1;D:boolean x == 1; 赋值 变量 布尔 发布时间:2024-06-14 20:38:06