/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 vote99 views1 answer
- 0 vote112 views1 answer
- 22 votes141 views1 answer
- 1 vote114 views2 answers
- 1 vote103 views1 answer
- 1 vote97 views3 answers
- 4 votes108 views2 answers
- 1 vote112 views1 answer
- 0 vote105 views1 answer
- 0 vote106 views1 answer