/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 vote312 views1 answer
- 0 vote266 views1 answer
- 0 vote264 views1 answer
- 0 vote279 views1 answer
- 13 votes285 views2 answers
- 0 vote298 views1 answer
- 0 vote245 views1 answer
- 0 vote267 views1 answer
- 0 vote325 views1 answer
- 2 votes268 views1 answer