Java/Operators/TernaryOp.java
public class TernaryOp {
    public static void main(String args[]){
        int a=2, b=3;
        //Following is an Example of Ternary Operator
        System.out.println("a<b)?a:b is " + ((a<b)?a:b));
        System.out.println("a>b)?a:b is " + ((a>b)?a:b));
    }
}
