- 1
int a=10; int b=20; boolean c=a>b; system. out. Println(c); what will the print in that statement.
11 ответов
+ 1
false
see the code here
http://www.sololearn.com/app/java/playground/c7bFq7QIN1dn/
+ 1
the output will be false because a is less than b
+ 1
False
+ 1
false
+ 1
false
0
false
0
False of course
0
false
0
false..because you used Boolean ie.it will give output true or false only....in above case a is 10 which is less than b=20....so ans is false
0
false Cuz' 10 is NOT bigger than 20
0
false