/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
- 3 votes140 views4 answers
- 0 vote130 views1 answer
- 4 votes130 views1 answer
- 3 votes235 views1 answer
- 1 vote194 views1 answer
- 0 vote130 views1 answer
- 1 vote131 views1 answer
- 3 votes152 views2 answers
- 0 vote157 views1 answer
- 0 vote152 views1 answer