📅  最后修改于: 2022-03-11 14:52:38.491000             🧑  作者: Mango
String a = "Hello"
if (a.equals("Hello") {
System.out.println("Variable A is Hello");
} else {
System.out.println("Variable A is not hello :(");
}