0
400views
Write the output of the following code:
written 2.7 years ago by | modified 2.7 years ago by |
Program
public class Main
{
public static void main(String[] args) {
byte b;
int j=257;
double d=323142;
b = (byte) j;
System.out.println(b);
b=(byte)d;
System.out.println(b);
}
}
ADD COMMENT
EDIT
1 Answer