Oracle interview question

Explain difference between Equals method and == operator in Java