Relational Operator and the Equals Method, homework help

Relational Operator and the Equals Method, homework help

The relational operator (==) and the .equals method. Why aren’t they interchangable? Why isn’t the following code correct?

String myName = “Ken”;
if (myName == “Ken”)
//do something

Why is this such a big deal? So many people think they are interchangeable. Do some research and discuss your findings.

Please do the following

  • Include at least 1 URL reference to resources used (APA format)
  • Please bold each question when answering.
  • Each of the should be about 1 paragraph long.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper