public class ifDemo07 { public static void main(String[] args) { int a=10; int b=20; int mx= a>b?a:b; System.out.println(mx); } }