/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 vote186 views1 answer
- 1 vote225 views1 answer
- 0 vote220 views1 answer
- 0 vote157 views1 answer
- 1 vote272 views1 answer
- 0 vote252 views1 answer
- 135 votes595 views6 answers
- 3 votes194 views1 answer
- 7 votes202 views4 answers
- 3 votes192 views1 answer