/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 vote187 views1 answer
- 10 votes144 views2 answers
- 0 vote203 views1 answer
- 2 votes197 views2 answers
- 0 vote198 views1 answer
- 3 votes343 views3 answers
- 1 vote206 views1 answer
- 1 vote206 views1 answer
- 0 vote203 views1 answer
- 0 vote210 views1 answer