InterviewSolution
Saved Bookmarks
| 1. |
Which of these methods is used to compare a specific region inside a string with another specific region in another string?(a) regionMatch()(b) match()(c) RegionMatches()(d) regionMatches()I had been asked this question by my school principal while I was bunking the class.I'm obligated to ask this question of String Comparison topic in portion String Handling of Java |
|
Answer» CORRECT OPTION is (d) regionMatches() To ELABORATE: NONE. |
|