/Java/Predict the output of the given code: void method2(char c) { System.out.println( (int) c); } What will be the output of the given code snippet if i) if 'x' is passed to c i) if ‘0’ is passed to c
Predict the output of the given code: void method2(char c) { System.out.println( (int) c); } What will be the output of the given code snippet if i) if 'x' is passed to c i) if ‘0’ is passed to c
Predict the output of the given code: void method2(char c) { System.out.println( (int) c); } What will be the output of the given code snippet if i) if 'x' is passed to c i) if ‘0’ is passed to c
0
- 0 vote343 views1 answer
- 1 vote370 views1 answer
- 0 vote353 views1 answer
- 13 votes356 views3 answers
- 0 vote341 views2 answers
- 0 vote372 views1 answer
- 1 vote338 views1 answer
- 1 vote327 views1 answer
- 0 vote354 views1 answer
- 2 votes344 views1 answer