📄 stringtest3.java
字号:
class StringTest3{
public static void main(String args[]) {
String str = "This is the first string.";
boolean result1 = str.equals("This is the first string.");
boolean result2 = str.equals("this is the first string.");
boolean result3 = str.equalsIgnoreCase("this is the first string.");
System.out.println("result1 = " +result1);
System.out.println("result2 = " +result2);
System.out.println("result3 = " +result3);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -