What will be the output of the program?class Test { public static void main(String [] args) { int x= 0; int y= 0; for (int z = 0; z 2 ) || ( y > 2)) { x ; } } System.out.println(x ' ' y); } } - Study24x7
Social learning Network
study24x7

Default error msg

Login

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

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

See more

A

5 3

B

8 2

C

8 3

D

8 5

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