为了账号安全,请及时绑定邮箱和手机立即绑定

public class HelloWorld { public static void main(String[] args) { boolean a = true; // a同意 boolean b = false; // b反对 boolean c = false; // c反对 boolean d = true; // d同意 System.out.println(( a&&b )+"未通过"); System.out.println(( a

呃,这个代码那错了


正在回答

1 回答

public class HelloWorld { 

public static void main(String[] args) { 

boolean a = true; 

// a同意 

boolean b = false; 

// b反对

boolean c = false;

// c反对

boolean d = true; 

// d同意

System.out.println(( a&&b )+"未通过";

//下划线这个括号是中文的,要用英文的

}

}


0 回复 有任何疑惑可以回复我~
#1

qq_不问过往_0 提问者

非常感谢!
2018-02-04 回复 有任何疑惑可以回复我~
#2

慕仔0066012 回复 qq_不问过往_0 提问者

不用客气!
2018-02-04 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

public class HelloWorld { public static void main(String[] args) { boolean a = true; // a同意 boolean b = false; // b反对 boolean c = false; // c反对 boolean d = true; // d同意 System.out.println(( a&&b )+"未通过"); System.out.println(( a

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号