xxxxxxxxxx
String a = "Hello"
if (a.equals("Hello") {
System.out.println("Variable A is Hello");
} else {
System.out.println("Variable A is not hello :(");
}
xxxxxxxxxx
String a = "Hello"
if (a.equals("Hello") {
System.out.println("Variable A is Hello");
} else {
System.out.println("Variable A is not hello :(");
}
xxxxxxxxxx
string a = "Hello"
if ( a = ("Hello"){
System.out.println("Variable A is Hello");
} else {
System.out.println("Variable A is not Hello:(");
}