Solved

YourCounty = "Perry";

Question 15

Essay

yourCounty = "perry";
yourCounty.equals("Perry");
yourCounty.equalsIgnoreCase("Perry");
Using the above statements, what value will be returned by the equals() method? What will be the value of the equalsIgnoreCase() method? Explain how the equalsIgnoreCase() method can be useful when users type responses to prompts in programs.

Correct Answer:

verifed

Verified

The String class equalsIgnoreCase() meth...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions