/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
- 1 vote152 views2 answers
- 3 votes129 views1 answer
- 5 votes148 views4 answers
- 0 vote130 views2 answers
- 1 vote135 views2 answers
- 0 vote161 views1 answer
- -1 vote150 views1 answer
- 1 vote135 views1 answer
- -1 vote132 views4 answers
- 76 votes125 views3 answers