49. What will be the output of the following code?
byte b
double d=417.35;
b=(byte) ;
System.out.println(b):
Answers
Answered by
5
There are some errors in the provided code. If they are corrected the output will be -95.
Corrected code:
byte b;
double d = 417.35;
b = (byte) d;
System.out.println(b);
Similar questions