can anyone show me how to use the compareTo method of COMPARABLEto compare 2 stringsplz use code examples!!
do you want to do something likeif ("this".equals("this");
> if ("this".equals("this");Err if ("this".equals("this"));
Actually i wanted to do something like "this".CompareTo("that")