public class MainClass { public static void main(String[] argv) { int x = 0; int a = 0; int b = 1; double c = 2D; a = x ? b : c; System.out.println(); } }