I'm trying to programme in android, but my if/else code is not working. Basically, its a quiz application that determines whether a person's answers are correct or not. But whatever the answer, the output is the output given in 'else'.
if(message=="panama canal"){
         Answer="Correct!";
    }
    else {
        Answer="Totally wrong";
    }
 
    