driver program
public static void main ( String [ ] args ) { boolean res = areIsomorphic ( " aab " , " xxy " ) ; System . out . println ( res ) ; res = areIsomorphic ( " aab " , " xyz " ) ; System . out . println ( res ) ; } }