Solve: End Other
Imported By: Geoffrey Challen
/ Version: 2021.7.0
Given two non-null
String
s, return true
if either of the String
s appears at
the end of the other String
.
Ignore differences in case.
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.boolean endOther(String first, String second) {
return false;
}