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