⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stringtest.java

📁 清华大学第二版
💻 JAVA
字号:
class StringTest{
	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 + -