ST Engineering interview question

They ask me what is the difference between .equal() and == in java.