Home / Report Question

Q. Which method is used to compare two strings ignoring case?
  • A. equals()
  • B. compareTo()
  • C. equalsIgnoreCase()
  • D. matchIgnoreCase()