/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 votes140 views2 answers
- 0 vote169 views2 answers
- 13 votes148 views2 answers
- 150 votes310 views4 answers
- 7 votes148 views3 answers
- 1 vote138 views2 answers
- 2 votes140 views1 answer
- 46 votes140 views3 answers
- 0 vote156 views1 answer
- 1 vote150 views1 answer