There are numerous ways to test for equality


There are numerous ways to test for equality. == works fine for primitive types, but not for objects such as strings, etc. Why is this so? Discuss why == doesn't work when utilizing Strings but does for integers and doubles. 

Criteria: Your answer to the topic should be about 1-2 paragraphs long. Go beyond just providing the answer but include analysis, insight, contrast, or parallels to personal experiences. 

Ref: Dean, J., Dean, R. (2008) Introduction to Programming with JAVA, third edition. McGraw-Hill Higher Education.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: There are numerous ways to test for equality
Reference No:- TGS0123976

Expected delivery within 24 Hours