Write an expression that evaluates to true if the value of variable lastName is greater than the string Dexter.

LANGUAGE: JAVA

CHALLENGE:

Write an expression that evaluates to true if the value of variable lastName is greater than the string Dexter.

SOLUTION:


(lastName.compareTo("Dexter")>0)