Driver Code
public static void main ( String args [ ] ) { String A = " AGAIN " ; String B = " ACTION " ; if ( IsLexicographicallySmaller ( A , B ) ) { System . out . println ( " Yes " ) ; } else { System . out . println ( " No " ) ; } } }