Computer Science, asked by mamtamaurya521, 4 months ago

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 jai696
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);

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions