What will be the output of the program?class SSBool { public static void main(String [] args) { boolean b1 = true; boolean b2 = false; boolean b3 = true; if ( b1 & b2 | b2 & b3 | b2 ) /* Line 8 */ System.out.print('ok '); if ( b1 & b2 | b2 & b3 | b2 | b1 ) /*Line 10*/ System.out.println('dokey'); } } - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
22 Feb 2023 12:36 PM study24x7 study24x7

What will be the output of the program?class SS...

See more

A

ok

B

dokey

C

ok dokey

D

No output is produced

E

Compilation error

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles