Identify the error in the following code snippet:
int a = 10; String result = (a > 5) ? "Greater" ;
Mismatched types in the ternary operation.
There is no error in the code.
Missing second operand for the ternary operator.
a > 5 cannot be used with a ternary operator.