5. The correct way to check if the following two String objects, max and min, contains same values regardless of its letter case, is: String max= "high" String min = " High": max.equalsignoreCase(min) maxtolowerCase).equals(min.tolowerCase() maxequals To(min) max.equals(min)

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question

(Don't copy )

Explain please 

 

5. The correct way to check if the following two String objects, max and min, contains same values
regardless of its letter case, is:
String max = "high";
String min = " High"
max.equalsignoreCase(min)
maxtolowerCase0.equals(min.toLowerCase0)
Mee
max.equalsTo(min)
max.equals(min)
Activ
Go to
Transcribed Image Text:5. The correct way to check if the following two String objects, max and min, contains same values regardless of its letter case, is: String max = "high"; String min = " High" max.equalsignoreCase(min) maxtolowerCase0.equals(min.toLowerCase0) Mee max.equalsTo(min) max.equals(min) Activ Go to
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT