- 1

int a=10; int b=20; boolean c=a>b; system. out. Println(c); what will the print in that statement.

22nd Sep 2016, 4:10 AM
Abdul Jabbar
Abdul Jabbar - avatar
11 odpowiedzi
22nd Sep 2016, 4:18 AM
WPimpong
WPimpong - avatar
+ 1
the output will be false because a is less than b
22nd Sep 2016, 4:55 AM
Neeraj Jangra
Neeraj Jangra - avatar
+ 1
False
22nd Sep 2016, 5:30 AM
Vivek Anand
+ 1
false
22nd Sep 2016, 8:02 AM
Shubham Priyesh
Shubham Priyesh - avatar
+ 1
false
22nd Sep 2016, 3:19 PM
Kyei Moses
Kyei Moses - avatar
0
false
22nd Sep 2016, 6:20 AM
andri joe
andri joe - avatar
0
False of course
24th Sep 2016, 3:31 PM
Abdul Azeez
Abdul Azeez - avatar
0
false
26th Sep 2016, 8:19 AM
Kashish Gupta
Kashish Gupta - avatar
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
28th Sep 2016, 5:37 AM
Priya
Priya - avatar
0
false Cuz' 10 is NOT bigger than 20
2nd Oct 2016, 1:20 PM
Rookie
0
false
22nd Oct 2016, 12:17 PM
Bindu Bindudc
Bindu Bindudc - avatar