Cubic interview question

Difference between .equals() and == in java?