?? compare.java
字號(hào):
//compare.Java
public class compare
{
public static void main(String args[])
{
String s1=new String ("This is the first string");
String s2=new String ("This is the second string");
String s3=new String (s1);
System.out.println("s1 compare s2="+s1.compareTo(s2));
System.out.println("s2 compare s3="+s2.compareToIgnoreCase(s3));
System.out.println("s1 compare s3="+s1.compareTo(s3));
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -