public class MainClass{ public static void main(String[] argv){ char e = -29; // Possible loss of precision; needs a cast char f = 70000 // Possible loss of precision; needs a cast } }
Type mismatch: cannot convert from int to char