public class Test { public static void main(String[] args) { char c = (char) 1; // 1 boolean boo = (boolean) 1; // 2 byte b = (byte) true; // 3 } }
Login in to like
Login in to comment
or Read more about Java Quizzes
Login in to like
Login in to comment