I have two Strings:
String string1 = "Abcdef"
String string2 = "Axyz"
I usually code in python, so I'm really new to java. How do I compare these to strings and find out which one would come first in a dictionary(I mean the book not the datastructure)?