Driver code
public static void main ( String [ ] args ) { String str = " GeeksforGeeks " ; if ( uniqueCharacters ( str ) ) { System . out . print ( " The ▁ String ▁ " + str + " has all unique charactersNEW_LINE"); } else { System . out . print ( " The ▁ String ▁ " + str + " has duplicate charactersNEW_LINE"); } } }