/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
- 6 votes220 views3 answers
- 8 votes267 views3 answers
- 9 votes175 views3 answers
- 1 vote180 views1 answer
- -1 vote220 views1 answer
- 0 vote266 views1 answer
- 0 vote171 views1 answer
- 1 vote205 views1 answer
- 1 vote196 views1 answer
- 5 votes186 views2 answers