386 views
0 votes
0 votes

class Value 

{

       public static void main(String [] s )

     {

     int i = 255;

byte b=(byte)i ;

char c = (char)b;

System.out.println("int value of char : " + (int) c);

}

 

}

 

 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
1 votes
1 votes
2 answers
2
0 votes
0 votes
1 answer
3