0
391views
Write the output of the following code:
written 2.6 years ago by | modified 2.6 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