public class MainClass { public static void main(String args[]) { int x = 4; System.out.println("value is " + ((x > 4) ? 99.99 : 9)); } }