public class MainClass{ public static void main(String[] argv){ byte i=100; byte j = 100; byte z = i * j;
System.out.println(z);
}
}
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Type mismatch: cannot convert from int to byte
at MainClass.main(MainClass.java:5)