public?class?T1?{
public?static?void?main(String[]?args)?{
String?str1?=?"我沒有說謊",?str2?=?"妳是我的眼";
System.out.println(str1.compareTo(str2));
//正值為大於,負值為小於
}