/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
- 2 votes240 views1 answer
- 0 vote239 views1 answer
- 1 vote251 views1 answer
- 1 vote226 views2 answers
- 3 votes227 views1 answer
- 0 vote232 views1 answer
- 0 vote211 views1 answer
- 0 vote230 views1 answer
- 1 vote227 views1 answer
- 1 vote224 views1 answer