Find the output of: int k=’b’;
System.out.println(k);
Answers
Answered by
0
Explanation:
Hi amrata ,
this piece of code will give you an error because the int type variable cannot store a character.
use some other value other than 'b' or change the data type to char.
Similar questions
English,
5 months ago
Social Sciences,
5 months ago
English,
11 months ago
Math,
11 months ago
English,
1 year ago